From 850380e300c6fb77796ebbceb2a4c41bbd585360 Mon Sep 17 00:00:00 2001 From: Hornfisk <30924992+Hornfisk@users.noreply.github.com> Date: Mon, 18 May 2026 19:59:06 +0200 Subject: [PATCH 1/2] ci(linux): disable LTO + cap parallelism to fix runner OOM GitHub-hosted ubuntu-22.04 has ~7 GB RAM. JUCE + LTO + unbounded parallel BinaryData TUs OOM'd the runner during PluginEditor.cpp.o (exit 143 = SIGTERM). macOS-14 and windows-2022 have more headroom and were unaffected. Linux now configures with -DBOMBO_LTO=OFF and builds with -j 2. Other platforms unchanged. --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba0000b..689ce42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,10 +31,18 @@ jobs: libcurl4-openssl-dev mesa-common-dev ninja-build - name: Configure - run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release + shell: bash + run: | + EXTRA="" + if [ "$RUNNER_OS" = "Linux" ]; then EXTRA="-DBOMBO_LTO=OFF"; fi + cmake -S . -B build -DCMAKE_BUILD_TYPE=Release $EXTRA - name: Build - run: cmake --build build --config Release -j + shell: bash + run: | + JOBS="-j" + if [ "$RUNNER_OS" = "Linux" ]; then JOBS="-j 2"; fi + cmake --build build --config Release $JOBS - name: Test run: ctest --test-dir build --output-on-failure -C Release From 702dcccd2ce749531dbfc4100179964db07b4341 Mon Sep 17 00:00:00 2001 From: Hornfisk <30924992+Hornfisk@users.noreply.github.com> Date: Mon, 18 May 2026 21:24:05 +0200 Subject: [PATCH 2/2] ci: opt actions into Node.js 24 ahead of 2026-06-02 deprecation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub forces Node 20 → Node 24 for actions/* runtimes starting 2026-06-02. The currently-pinned actions/checkout@v4 and actions/upload-artifact@v4 still ship with Node 20; setting the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 env opts them in now so the deprecation cutoff doesn't turn CI red during the KVRDC AFK window. --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 689ce42..e74e680 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,12 @@ on: pull_request: workflow_dispatch: +# Opt into Node.js 24 for actions/* that still ship with Node 20 runtimes. +# GitHub forces this default starting 2026-06-02 — pinning here avoids any +# surprise red CI during the user's AFK window. +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" + jobs: build: name: ${{ matrix.os }}