From 7f4c274e35aaf66ed317c592a437652f94b48410 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Thu, 2 Apr 2026 14:49:14 -0700 Subject: [PATCH] fix(ci): limit arm64 Linux build parallelism to avoid OOM The ubuntu-24.04-arm runner is memory-constrained and the full parallel Release build was being killed by the OOM reaper, causing the Build step to fail silently with no log output. Cap at 2 jobs. --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3140e24e..86297485 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,9 +24,11 @@ jobs: - arch: x86-64 runner: ubuntu-24.04 deb_arch: amd64 + build_jobs: $(nproc) - arch: arm64 runner: ubuntu-24.04-arm deb_arch: arm64 + build_jobs: 2 steps: - name: Checkout @@ -97,19 +99,19 @@ jobs: run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWOWEE_ENABLE_AMD_FSR2=ON - name: Assert AMD FSR2 target - run: cmake --build build --target wowee_fsr2_amd_vk --parallel $(nproc) + run: cmake --build build --target wowee_fsr2_amd_vk --parallel ${{ matrix.build_jobs }} - name: Assert AMD FSR3 framegen probe target (if present) run: | set -euo pipefail if cmake --build build --target help | grep -q 'wowee_fsr3_framegen_amd_vk_probe'; then - cmake --build build --target wowee_fsr3_framegen_amd_vk_probe --parallel $(nproc) + cmake --build build --target wowee_fsr3_framegen_amd_vk_probe --parallel ${{ matrix.build_jobs }} else echo "FSR3 framegen probe target not generated for this SDK layout; continuing." fi - name: Build - run: cmake --build build --parallel $(nproc) + run: cmake --build build --parallel ${{ matrix.build_jobs }} - name: Package (DEB) run: cd build && cpack -G DEB