mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 23:40:54 +00:00
ci: move 'set -eu' to after source_cmd
This commit is contained in:
parent
cf46467a42
commit
eda2824e6f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue