File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ permissions:
1919
2020jobs :
2121
22- smoke-test :
22+ smoke-test-arch :
2323 strategy :
2424 fail-fast : true
2525 matrix :
2929 - arch : aarch64
3030 runner : ubuntu-24.04-arm
3131 runs-on : ${{ matrix.runner }}
32+ name : " smoke-test (${{ matrix.arch }})"
3233 steps :
3334 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3435
5354 env :
5455 IS_JAVA_8 : true
5556
56- build :
57+ build-arch :
5758 strategy :
5859 fail-fast : true
5960 matrix :
6364 - arch : aarch64
6465 runner : ubuntu-24.04-arm
6566 runs-on : ${{ matrix.runner }}
67+ name : " build (${{ matrix.arch }})"
6668 steps :
6769 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6870
@@ -103,3 +105,27 @@ jobs:
103105 uses : codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5
104106 env :
105107 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
108+
109+ smoke-test :
110+ needs : smoke-test-arch
111+ if : always()
112+ runs-on : ubuntu-latest
113+ steps :
114+ - name : Check smoke-test results
115+ run : |
116+ if [ "${{ needs.smoke-test-arch.result }}" != "success" ]; then
117+ echo "Smoke tests failed on one or more architectures"
118+ exit 1
119+ fi
120+
121+ build :
122+ needs : build-arch
123+ if : always()
124+ runs-on : ubuntu-latest
125+ steps :
126+ - name : Check build results
127+ run : |
128+ if [ "${{ needs.build-arch.result }}" != "success" ]; then
129+ echo "Build failed on one or more architectures"
130+ exit 1
131+ fi
You can’t perform that action at this time.
0 commit comments