enable parallel for cmake, fixup for autotools

This commit is contained in:
Viktor Szakats 2025-02-26 14:45:31 +01:00
parent a72e6efce3
commit 6ec8cf4cd7
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -593,6 +593,7 @@ jobs:
timeout-minutes: 10 timeout-minutes: 10
env: env:
toolchain-version: '0.59.1' toolchain-version: '0.59.1'
MAKEFLAGS: -j 4
strategy: strategy:
matrix: matrix:
build: [autotools, cmake] build: [autotools, cmake]
@ -664,7 +665,7 @@ jobs:
if [ '${{ matrix.build }}' = 'cmake' ]; then if [ '${{ matrix.build }}' = 'cmake' ]; then
cmake --build bld cmake --build bld
else else
make -j5 -C bld make -C bld
fi fi
- name: 'curl info' - name: 'curl info'
@ -678,7 +679,7 @@ jobs:
if [ '${{ matrix.build }}' = 'cmake' ]; then if [ '${{ matrix.build }}' = 'cmake' ]; then
cmake --build bld --target testdeps cmake --build bld --target testdeps
else else
make -j5 -C bld -C tests make -C bld -C tests
fi fi
- name: 'build examples' - name: 'build examples'
@ -688,7 +689,7 @@ jobs:
if [ '${{ matrix.build }}' = 'cmake' ]; then if [ '${{ matrix.build }}' = 'cmake' ]; then
cmake --build bld --target curl-examples cmake --build bld --target curl-examples
else else
make -j5 -C bld examples make -C bld examples
fi fi
msvc: msvc: