Skip to content

Commit

Permalink
CI: increase -j to take into account that recently GitHub action work…
Browse files Browse the repository at this point in the history
…ers have bumped to 4 vCPUs (#1044)
  • Loading branch information
rouault authored Feb 7, 2024
1 parent 45466da commit 4de45fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ jobs:
-DUSE_CCACHE=ON \
-DBUILD_DOCUMENTATION=YES \
-DCMAKE_BUILD_TYPE=${{ matrix.ci.build_type }} ..
make -j 2
make -j $(nproc)
cmake --build . --target docs
ccache -s
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-DUSE_CCACHE=ON \
-G"MSYS Makefiles" ..
cmake --build . -j 2
cmake --build . -j 4
- name: Save build cache
uses: actions/cache/save@v3
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:
cd build
cmake --version
cmake -DCMAKE_BUILD_TYPE=${{ matrix.ci.build_type }} -DCMAKE_CXX_STANDARD=${{ matrix.ci.cxxstd }} -DBUILD_SHARED_LIBS=ON -DUSE_CCACHE=ON ..
cmake --build . --config ${{ matrix.ci.build_type }} -j 2
cmake --build . --config ${{ matrix.ci.build_type }} -j 4
- name: Save build cache
uses: actions/cache/save@v3
Expand Down Expand Up @@ -446,7 +446,7 @@ jobs:
-DCMAKE_CXX_STANDARD=${CXX_STANDARD} \
-DUSE_CCACHE=ON \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
cmake --build . --config ${BUILD_TYPE} -j 3
cmake --build . --config ${BUILD_TYPE} -j 4
- name: Save build cache
uses: actions/cache/save@v3
Expand Down Expand Up @@ -503,6 +503,6 @@ jobs:
cp geos/examples/capi_read.c .
cmake --version
cmake -S . -B build
cmake --build build -j 2
cmake --build build -j $(nproc)
build/capi_read
test ! -f build/geos/bin/test_geos_unit || { echo "Error: GEOS tests were built" 1>&2 ; exit 1; }

0 comments on commit 4de45fe

Please sign in to comment.