ci: move 'set -eu' to after source_cmd

This commit is contained in:
Anonymous Maarten 2023-07-14 15:00:52 +02:00
parent cf46467a42
commit eda2824e6f
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@ jobs:
cmake --build build/ --config Release --verbose --parallel
- name: Run build-time tests (CMake)
run: |
set -eu
${{ matrix.platform.source_cmd }}
set -eu
export SDL_TESTS_QUICK=1
ctest -VV --test-dir build/
if test "${{ runner.os }}" = "Linux"; then
@ -118,8 +118,8 @@ jobs:
fi
- name: Install (CMake)
run: |
set -eu
${{ matrix.platform.source_cmd }}
set -eu
cmake --install build/ --config Release
( cd cmake_prefix; find . ) | LC_ALL=C sort -u
- name: Package (CPack)