diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index b71f80e1a..08227cd61 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -139,7 +139,7 @@ jobs: cmake -B _build -S . -DDEPS_INSTALL_DIR=rte-antares-deps-Release -DCMAKE_PREFIX_PATH="$pwd\rte-antares-${{steps.antares-version.outputs.result}}-installer-64bits" -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=${{ matrix.triplet }} -DCMAKE_INSTALL_PREFIX=_install -DBUILD_UI=ON -DXPRESS=${{ env.XPRESS_VALUE }} -DXPRESS_ROOT="${{ env.XPRESSDIR }}" - name: Build run: | - cmake --build _build --config Release -j$(nproc) + cmake --build _build --config Release -j4 - name: Running unit tests timeout-minutes: 120 diff --git a/.github/workflows/windows-vcpkg-deps-build.yml b/.github/workflows/windows-vcpkg-deps-build.yml index 3cd82f7d1..a15055b59 100644 --- a/.github/workflows/windows-vcpkg-deps-build.yml +++ b/.github/workflows/windows-vcpkg-deps-build.yml @@ -96,7 +96,7 @@ jobs: - name: Build run: | - cmake --build _build --config Release -j$(nproc) + cmake --build _build --config Release -j4 cd _build cmake --install . diff --git a/.github/workflows/windows-vcpkg.yml b/.github/workflows/windows-vcpkg.yml index 8d91019f2..8fc06fe7c 100644 --- a/.github/workflows/windows-vcpkg.yml +++ b/.github/workflows/windows-vcpkg.yml @@ -191,7 +191,7 @@ jobs: - name: Build run: | - cmake --build _build --config Release -j$(nproc) + cmake --build _build --config Release -j4 cd _build cmake --install .