From 9588912aa9721e49abbb2106f59c98ecc7e5c17d Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Tue, 9 Jun 2026 02:21:09 -0700 Subject: [PATCH] Speeding-up GitHub build-bots (#1392) * disabling LTO when building the profiler on macos via the github workflow * diagnosing where in the linking stage it's getting stuck * fowrward declarations * compilation time report * trying clang build analyzer... * reducing number of parallel workers * limiting parallel workers on windows/linux as well * re-enabling LTO on macos * reverting forward declaration header include (emscripten is failing with them). * reverting act changes * removing comments --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/windows.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 52ceec0a..cc5541d9 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -32,7 +32,7 @@ jobs: if [ "${ACT:-}" != "true" ] && [ "${FORGEJO_ACTIONS:-}" != "true" ]; then cmake --build profiler/build else - cmake --build profiler/build --parallel + cmake --build profiler/build --parallel 2 fi - name: Update utility run: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d754ae63..3ce33d73 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -28,7 +28,7 @@ jobs: - name: Build profiler run: | cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} - cmake --build profiler/build --parallel --config Release + cmake --build profiler/build --parallel 2 --config Release - name: Build update run: | cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c44cc3ca..9bcd62db 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -32,7 +32,7 @@ jobs: - name: Build profiler run: | cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} - cmake --build profiler/build --parallel --config Release + cmake --build profiler/build --parallel 2 --config Release - name: Build update run: | cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }}