|
1 |
| -name: cli |
2 |
| - |
3 | 1 | on:
|
4 | 2 | push:
|
5 | 3 | branches: [ 'master', 'release', 'rust' ]
|
@@ -190,6 +188,29 @@ jobs:
|
190 | 188 | run: |
|
191 | 189 | ./dev/docker/run ./dev/dev lint
|
192 | 190 |
|
| 191 | + run-smoke-tests: |
| 192 | + name: "Smoke tests" |
| 193 | + needs: [ build-cli ] |
| 194 | + runs-on: ubuntu-24.04 |
| 195 | + |
| 196 | + steps: |
| 197 | + - name: "Checkout code" |
| 198 | + uses: actions/checkout@v4 |
| 199 | + with: |
| 200 | + fetch-depth: 1 |
| 201 | + submodules: true |
| 202 | + |
| 203 | + - name: "Download build artifacts" |
| 204 | + uses: actions/download-artifact@v4 |
| 205 | + with: |
| 206 | + pattern: pangraph-* |
| 207 | + merge-multiple: true |
| 208 | + path: ".out" |
| 209 | + |
| 210 | + - name: "Run smoke tests" |
| 211 | + run: | |
| 212 | + chmod +x ./.out/pangraph-x86_64-unknown-linux-gnu |
| 213 | + ./dev/run-smoke-tests ./.out/pangraph-x86_64-unknown-linux-gnu --fast |
193 | 214 |
|
194 | 215 |
|
195 | 216 | run-compat-tests-x86_64-unknown-linux-gnu:
|
@@ -368,7 +389,7 @@ jobs:
|
368 | 389 |
|
369 | 390 | publish-to-github-releases:
|
370 | 391 | name: "Publish to GitHub Releases"
|
371 |
| - needs: [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-linux-distros-test, check-cli-docs ] |
| 392 | + needs: [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-compat-tests-x86_64-unknown-linux-gnu, run-compat-tests-x86_64-unknown-linux-musl, run-compat-tests-x86_64-apple-darwin, run-compat-tests-aarch64-apple-darwin, run-compat-tests-x86_64-pc-windows-gnu, check-cli-docs ] |
372 | 393 | if: endsWith(github.ref, '/release-cli')
|
373 | 394 | runs-on: ubuntu-24.04
|
374 | 395 |
|
@@ -405,7 +426,7 @@ jobs:
|
405 | 426 |
|
406 | 427 | publish-to-docker-hub:
|
407 | 428 | name: "Publish to Docker Hub"
|
408 |
| - needs: [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-linux-distros-test, check-cli-docs ] |
| 429 | + needs: [ build-cli, run-unit-tests, run-lints, run-smoke-tests, run-compat-tests-x86_64-unknown-linux-gnu, run-compat-tests-x86_64-unknown-linux-musl, run-compat-tests-x86_64-apple-darwin, run-compat-tests-aarch64-apple-darwin, run-compat-tests-x86_64-pc-windows-gnu, check-cli-docs ] |
409 | 430 | if: endsWith(github.ref, '/release-cli')
|
410 | 431 | runs-on: ubuntu-24.04
|
411 | 432 |
|
|
0 commit comments