mirror of https://github.com/libsdl-org/SDL.git
ci: move 'set -eu' to after source_cmd
This commit is contained in:
parent
cf46467a42
commit
eda2824e6f
|
|
@ -108,8 +108,8 @@ jobs:
|
||||||
cmake --build build/ --config Release --verbose --parallel
|
cmake --build build/ --config Release --verbose --parallel
|
||||||
- name: Run build-time tests (CMake)
|
- name: Run build-time tests (CMake)
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
|
||||||
${{ matrix.platform.source_cmd }}
|
${{ matrix.platform.source_cmd }}
|
||||||
|
set -eu
|
||||||
export SDL_TESTS_QUICK=1
|
export SDL_TESTS_QUICK=1
|
||||||
ctest -VV --test-dir build/
|
ctest -VV --test-dir build/
|
||||||
if test "${{ runner.os }}" = "Linux"; then
|
if test "${{ runner.os }}" = "Linux"; then
|
||||||
|
|
@ -118,8 +118,8 @@ jobs:
|
||||||
fi
|
fi
|
||||||
- name: Install (CMake)
|
- name: Install (CMake)
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
|
||||||
${{ matrix.platform.source_cmd }}
|
${{ matrix.platform.source_cmd }}
|
||||||
|
set -eu
|
||||||
cmake --install build/ --config Release
|
cmake --install build/ --config Release
|
||||||
( cd cmake_prefix; find . ) | LC_ALL=C sort -u
|
( cd cmake_prefix; find . ) | LC_ALL=C sort -u
|
||||||
- name: Package (CPack)
|
- name: Package (CPack)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue