diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a101b4a423b..06d3406f1d5 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -105,7 +105,7 @@ jobs: # Build wpimath slow to prevent OOM - name: build wpimath working-directory: build - run: cmake --build . --parallel 1 --target wpimath/all + run: cmake --build . --parallel 2 --target wpimath/all env: SCCACHE_GHA_ENABLED: "true" diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 7ed26edd893..861f042ab19 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -70,13 +70,13 @@ jobs: artifact-name: Win64Debug architecture: x64 task: "build" - build-options: "-PciDebugOnly --max-workers 1" + build-options: "-PciDebugOnly --max-workers 2" outputs: "build/allOutputs" build-dir: "c:\\work" - os: windows-2022 artifact-name: Win64Release architecture: x64 - build-options: "-PciReleaseOnly --max-workers 1" + build-options: "-PciReleaseOnly --max-workers 2" task: "copyAllOutputs" outputs: "build/allOutputs" build-dir: "c:\\work" @@ -84,13 +84,13 @@ jobs: artifact-name: WinArm64Debug architecture: x64 task: "build" - build-options: "-PciDebugOnly -Pbuildwinarm64 -Ponlywindowsarm64 --max-workers 1" + build-options: "-PciDebugOnly -Pbuildwinarm64 -Ponlywindowsarm64 --max-workers 2" outputs: "build/allOutputs" build-dir: "c:\\work" - os: windows-2022 artifact-name: WinArm64Release architecture: x64 - build-options: "-PciReleaseOnly -Pbuildwinarm64 -Ponlywindowsarm64 --max-workers 1" + build-options: "-PciReleaseOnly -Pbuildwinarm64 -Ponlywindowsarm64 --max-workers 2" task: "copyAllOutputs" outputs: "build/allOutputs" build-dir: "c:\\work"