Skip to content

Commit 884dd85

Browse files
committed
fix: pr comments
1 parent 891251e commit 884dd85

1 file changed

Lines changed: 28 additions & 2 deletions

File tree

.github/workflows/runtime-interface-client_pr.yml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121

22-
smoke-test:
22+
smoke-test-arch:
2323
strategy:
2424
fail-fast: true
2525
matrix:
@@ -29,6 +29,7 @@ jobs:
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

@@ -53,7 +54,7 @@ jobs:
5354
env:
5455
IS_JAVA_8: true
5556

56-
build:
57+
build-arch:
5758
strategy:
5859
fail-fast: true
5960
matrix:
@@ -63,6 +64,7 @@ jobs:
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

0 commit comments

Comments
 (0)