Skip to content

Commit 962c4b2

Browse files
committed
evaluate result code from make
1 parent 13a8ead commit 962c4b2

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/regression.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,17 @@ jobs:
3939
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
4040
run: |
4141
pushd tests
42+
fail=0
4243
for dir in `find . -mindepth 1 -maxdepth 1 -type d`; do
43-
pushd $dir && make && popd
44+
pushd $dir
45+
if ! make; then
46+
fail=1
47+
popd
48+
break
49+
fi
50+
popd
4451
done
45-
popd
52+
if [ ! $fail -eq 0 ]; then false; else true; fi
4653

4754
- name: Upload artifacts
4855
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)