|
27 | 27 | development-toolchain-tag: swift-DEVELOPMENT-SNAPSHOT-2024-07-08-a |
28 | 28 | wasi-swift-sdk-download: "https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a-wasm32-unknown-wasi.artifactbundle.zip" |
29 | 29 | wasi-swift-sdk-id: DEVELOPMENT-SNAPSHOT-2024-07-09-a-wasm32-unknown-wasi |
30 | | - test-args: "--sanitize address --enable-code-coverage" |
31 | | - build-dev-dashboard: true |
| 30 | + test-args: "--sanitize address" |
32 | 31 |
|
33 | 32 | runs-on: ${{ matrix.os }} |
34 | 33 | name: "build-macos (${{ matrix.xcode }})" |
|
61 | 60 | - run: ./Vendor/checkout-dependency |
62 | 61 | - run: swift test ${{ matrix.test-args }} |
63 | 62 |
|
64 | | - - if: matrix.build-dev-dashboard |
65 | | - run: ./CI/build-dev-dashboard.sh |
66 | | - - if: matrix.build-dev-dashboard |
67 | | - id: deployment |
68 | | - uses: actions/upload-pages-artifact@v3 |
69 | | - with: |
70 | | - path: .build/html |
71 | | - |
72 | | - deploy-dev-dashboard: |
73 | | - environment: |
74 | | - name: github-pages |
75 | | - url: ${{ steps.deployment.outputs.page_url }} |
76 | | - runs-on: ubuntu-latest |
77 | | - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} |
78 | | - needs: build-macos |
79 | | - steps: |
80 | | - - id: deployment |
81 | | - uses: actions/deploy-pages@v4 |
82 | | - |
83 | 63 | build-xcode: |
84 | 64 | runs-on: macos-15 |
85 | 65 | steps: |
|
106 | 86 | development-toolchain-download: "https://download.swift.org/development/ubuntu2004/swift-DEVELOPMENT-SNAPSHOT-2024-07-08-a/swift-DEVELOPMENT-SNAPSHOT-2024-07-08-a-ubuntu20.04.tar.gz" |
107 | 87 | wasi-swift-sdk-download: "https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a-wasm32-unknown-wasi.artifactbundle.zip" |
108 | 88 | wasi-swift-sdk-id: DEVELOPMENT-SNAPSHOT-2024-07-09-a-wasm32-unknown-wasi |
| 89 | + test-args: "--enable-code-coverage" |
| 90 | + build-dev-dashboard: true |
109 | 91 | - swift: "5.9-amazonlinux2" |
110 | 92 | development-toolchain-download: "https://download.swift.org/development/amazonlinux2/swift-DEVELOPMENT-SNAPSHOT-2024-07-08-a/swift-DEVELOPMENT-SNAPSHOT-2024-07-08-a-amazonlinux2.tar.gz" |
111 | 93 | wasi-swift-sdk-download: "https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a-wasm32-unknown-wasi.artifactbundle.zip" |
@@ -144,7 +126,26 @@ jobs: |
144 | 126 | EOS |
145 | 127 | - run: ./build-exec ./CI/install-wabt.sh |
146 | 128 | - run: ./Vendor/checkout-dependency |
147 | | - - run: ./build-exec swift test |
| 129 | + - run: ./build-exec swift test ${{ matrix.test-args }} |
| 130 | + |
| 131 | + - if: matrix.build-dev-dashboard |
| 132 | + run: ./CI/build-dev-dashboard.sh |
| 133 | + - if: matrix.build-dev-dashboard |
| 134 | + id: deployment |
| 135 | + uses: actions/upload-pages-artifact@v3 |
| 136 | + with: |
| 137 | + path: .build/html |
| 138 | + |
| 139 | + deploy-dev-dashboard: |
| 140 | + environment: |
| 141 | + name: github-pages |
| 142 | + url: ${{ steps.deployment.outputs.page_url }} |
| 143 | + runs-on: ubuntu-latest |
| 144 | + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} |
| 145 | + needs: build-linux |
| 146 | + steps: |
| 147 | + - id: deployment |
| 148 | + uses: actions/deploy-pages@v4 |
148 | 149 |
|
149 | 150 | build-musl: |
150 | 151 | runs-on: ubuntu-22.04 |
|
0 commit comments