diff options
| author | jvoisin | 2023-08-20 21:33:33 +0200 |
|---|---|---|
| committer | jvoisin | 2023-08-20 21:33:33 +0200 |
| commit | 737b5207e12bb12a270fa1a385048fcf55617e43 (patch) | |
| tree | dc4255486d1a673d0d556d9721da9601ea449501 /.github/workflows | |
| parent | bfbaa577f6fc46ebb965724e0f261e79e26ec9fb (diff) | |
Specify "shell: bash" in github actions
As [documented](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference),
this brings us `set -eo pipefail`.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/testsuite.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml index e44f104..e4188b2 100644 --- a/.github/workflows/testsuite.yaml +++ b/.github/workflows/testsuite.yaml | |||
| @@ -24,6 +24,7 @@ jobs: | |||
| 24 | if: steps.cache-musl.outputs.cache-hit != 'true' | 24 | if: steps.cache-musl.outputs.cache-hit != 'true' |
| 25 | run: tar xzf ./x86_64-linux-musl-native.tgz | 25 | run: tar xzf ./x86_64-linux-musl-native.tgz |
| 26 | - name: Running the testsuite | 26 | - name: Running the testsuite |
| 27 | shell: bash | ||
| 27 | run: make -C tests gcc | grep -zqv FAIL | 28 | run: make -C tests gcc | grep -zqv FAIL |
| 28 | 29 | ||
| 29 | clang: | 30 | clang: |
| @@ -51,4 +52,5 @@ jobs: | |||
| 51 | sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 | 52 | sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 |
| 52 | sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100 | 53 | sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100 |
| 53 | - name: Running the testsuite | 54 | - name: Running the testsuite |
| 55 | shell: bash | ||
| 54 | run: make -C tests clang | grep -zqv FAIL | 56 | run: make -C tests clang | grep -zqv FAIL |
