From eda2824e6f6e4177c0375444cc395461537fd8dd Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 14 Jul 2023 15:00:52 +0200
Subject: [PATCH] ci: move 'set -eu' to after source_cmd
---
.github/workflows/main.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d598870e2c7b..593a8cf1298c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -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)