]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/non-native: fix OmniOS job to fail on tests
authorViktor Szakats <commit@vsz.me>
Sat, 5 Oct 2024 15:23:17 +0000 (17:23 +0200)
committerViktor Szakats <commit@vsz.me>
Sat, 5 Oct 2024 18:38:00 +0000 (20:38 +0200)
Before this patch a failed test did not result in a failed CI job.

Closes #15160

.github/workflows/non-native.yml

index c8b4601e3eab9545231fe6d90db5d6b3b68e2d12..fc4f468cbd1d3259286b1e68e840a124472f44dd 100644 (file)
@@ -191,6 +191,7 @@ jobs:
           # https://pkg.omnios.org/r151050/core/en/index.shtml
           prepare: pkg install build-essential libtool
           run: |
+            set -e
             ln -s /usr/bin/gcpp /usr/bin/cpp  # Some tests expect `cpp`, which is named `gcpp` in this env.
             autoreconf -fi
             mkdir bld && cd bld && ../configure --enable-unity --enable-test-bundles --enable-debug --enable-warnings --enable-werror \