Skip to content

Commit 0fa396c

Browse files
committed
ci: limit GCC concurrency to -j 1 on ubuntu-26.04 and fix skip_tests condition
1 parent 544188e commit 0fa396c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
os: ubuntu-26.04
2222
cmake_generator: "Ninja"
2323
cmake_flags: "-DCMAKE_BUILD_TYPE=Release -DENABLE_PAR=OFF -DF3KDB_TEST_HOSTS=vs"
24+
build_flags: "-j 1"
2425

2526
- name: ubuntu-26.04-arm
2627
os: ubuntu-26.04-arm
@@ -41,13 +42,13 @@ jobs:
4142
os: windows-11-vs2026-arm
4243
cmake_generator: "Visual Studio 18 2026"
4344
cmake_flags: "-T ClangCL -A ARM64 -DENABLE_PAR=OFF"
44-
run_tests: false
45+
skip_tests: true
4546

4647
- name: windows-11-clang-arm
4748
os: windows-11-vs2026-arm
4849
cmake_generator: "Ninja"
4950
cmake_flags: "-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DENABLE_PAR=OFF"
50-
run_tests: false
51+
skip_tests: true
5152

5253
steps:
5354
- name: Checkout Code
@@ -59,7 +60,7 @@ jobs:
5960
python-version: "3.12"
6061

6162
- name: Setup Windows Test Environment (VS & AVS)
62-
if: runner.os == 'Windows' && matrix.run_tests != false
63+
if: runner.os == 'Windows' && !matrix.skip_tests
6364
run: |
6465
python -m pip install --upgrade pip
6566
python -m pip install vapoursynth
@@ -118,8 +119,8 @@ jobs:
118119
${{ matrix.cmake_flags }}
119120
120121
- name: Build
121-
run: cmake --build build --config Release --parallel
122+
run: cmake --build build --config Release ${{ matrix.build_flags || '--parallel' }}
122123

123124
- name: Test (CTest)
124-
if: matrix.run_tests != false
125+
if: "!matrix.skip_tests"
125126
run: ctest --test-dir build -C Release --output-on-failure

0 commit comments

Comments
 (0)