It's managed by Ninja automatically.
Closes #15249
- name: 'build'
run: |
if [ -n '${{ matrix.build.generate }}' ]; then
- cmake --build . --parallel 5 --verbose
+ cmake --build . --verbose
else
make V=1
fi
- name: 'build tests'
run: |
if [ -n '${{ matrix.build.generate }}' ]; then
- cmake --build . --parallel 5 --verbose --target testdeps
+ cmake --build . --verbose --target testdeps
else
make V=1 -C tests
fi
- name: 'build examples'
run: |
if [ -n '${{ matrix.build.generate }}' ]; then
- cmake --build . --parallel 5 --verbose --target curl-examples
+ cmake --build . --verbose --target curl-examples
else
make V=1 examples
fi
mkdir aws-lc-${{ env.awslc-version }}-build
cd aws-lc-${{ env.awslc-version }}-build
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/awslc ../aws-lc-${{ env.awslc-version }}
- cmake --build . --parallel 5
+ cmake --build .
cmake --install .
- name: cache rustls
- name: 'build'
run: |
if [ -n '${{ matrix.build.generate }}' ]; then
- ${{ matrix.build.make-prefix }} cmake --build . --parallel 5 --verbose
+ ${{ matrix.build.make-prefix }} cmake --build . --verbose
else
${{ matrix.build.make-prefix }} make V=1
fi
if: ${{ matrix.build.install_steps != 'skipall' }}
run: |
if [ -n '${{ matrix.build.generate }}' ]; then
- cmake --build . --parallel 5 --verbose --target testdeps
+ cmake --build . --verbose --target testdeps
else
make V=1 -C tests
fi
- name: 'build examples'
run: |
if [ -n '${{ matrix.build.generate }}' ]; then
- ${{ matrix.build.make-prefix }} cmake --build . --parallel 5 --verbose --target curl-examples
+ ${{ matrix.build.make-prefix }} cmake --build . --verbose --target curl-examples
else
${{ matrix.build.make-prefix }} make V=1 examples
fi
-DCURL_USE_OPENSSL=ON \
-DCURL_BROTLI=ON -DCURL_USE_GSSAPI=ON \
|| { cat bld/CMakeFiles/CMake*.yaml; false; }
- cmake --build bld --config Debug --parallel 3
+ cmake --build bld --config Debug
bld/src/curl --disable --version
if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU
- cmake --build bld --config Debug --parallel 3 --target testdeps
+ cmake --build bld --config Debug --target testdeps
export TFLAGS='-j4'
cmake --build bld --config Debug --target test-ci
fi
echo '::group::build examples'
- cmake --build bld --config Debug --parallel 3 --target curl-examples
+ cmake --build bld --config Debug --target curl-examples
echo '::endgroup::'
openbsd:
-DCURL_USE_OPENSSL=ON \
-DCURL_BROTLI=ON \
|| { cat bld/CMakeFiles/CMake*.yaml; false; }
- cmake --build bld --config Debug --parallel 3
+ cmake --build bld --config Debug
bld/src/curl --disable --version
if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU
- cmake --build bld --config Debug --parallel 3 --target testdeps
+ cmake --build bld --config Debug --target testdeps
export TFLAGS='-j8 ~3017 ~TFTP ~FTP' # FIXME: TFTP requests executed twice? Related: `curl: (69) TFTP: Access Violation`?
cmake --build bld --config Debug --target test-ci
fi
echo '::group::build examples'
- cmake --build bld --config Debug --parallel 3 --target curl-examples
+ cmake --build bld --config Debug --target curl-examples
echo '::endgroup::'
freebsd:
-DCURL_USE_OPENSSL=ON \
-DCURL_BROTLI=ON -DCURL_USE_GSSAPI=ON \
|| { cat bld/CMakeFiles/CMake*.yaml; false; }
- cmake --build bld --config Debug --parallel 3
+ cmake --build bld --config Debug
bld/src/curl --disable --version
if [ '${{ matrix.arch }}' = 'x86_64' ]; then # Slow on emulated CPU
- cmake --build bld --config Debug --parallel 3 --target testdeps
+ cmake --build bld --config Debug --target testdeps
cmake --build bld --config Debug --target test-ci
fi
echo '::group::build examples'
- cmake --build bld --config Debug --parallel 3 --target curl-examples
+ cmake --build bld --config Debug --target curl-examples
echo '::endgroup::'
omnios:
- name: 'cmake build'
if: ${{ matrix.build == 'cmake' }}
timeout-minutes: 10
- run: cmake --build bld --config '${{ matrix.type }}' --parallel 5
+ run: cmake --build bld --config '${{ matrix.type }}'
- name: 'curl version'
if: ${{ matrix.build == 'cmake' }}
- name: 'cmake build tests'
if: ${{ matrix.build == 'cmake' && matrix.tflags != 'skipall' }}
timeout-minutes: 15
- run: cmake --build bld --config '${{ matrix.type }}' --parallel 5 --target testdeps
+ run: cmake --build bld --config '${{ matrix.type }}' --target testdeps
- name: 'cmake run tests'
if: ${{ matrix.build == 'cmake' && matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}
- name: 'cmake build examples'
if: ${{ matrix.build == 'cmake' }}
timeout-minutes: 5
- run: cmake --build bld --config '${{ matrix.type }}' --parallel 5 --target curl-examples
+ run: cmake --build bld --config '${{ matrix.type }}' --target curl-examples
msys2: # both msys and mingw-w64
name: "${{ matrix.sys == 'msys' && 'msys2' || 'mingw' }}, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.env }} ${{ matrix.name }} ${{ matrix.test }}"
- name: 'cmake build'
if: ${{ matrix.build == 'cmake' }}
timeout-minutes: 10
- run: cmake --build bld --config '${{ matrix.type }}' --parallel 5
+ run: cmake --build bld --config '${{ matrix.type }}'
- name: 'curl version'
if: ${{ matrix.build == 'cmake' }}
- name: 'cmake build tests'
if: ${{ matrix.build == 'cmake' && matrix.tflags != 'skipall' }}
timeout-minutes: 10
- run: cmake --build bld --config '${{ matrix.type }}' --parallel 5 --target testdeps
+ run: cmake --build bld --config '${{ matrix.type }}' --target testdeps
- name: 'install test tools'
if: ${{ matrix.build == 'cmake' && matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}
- name: 'cmake build examples'
if: ${{ matrix.build == 'cmake' }}
timeout-minutes: 5
- run: cmake --build bld --config '${{ matrix.type }}' --parallel 5 --target curl-examples
+ run: cmake --build bld --config '${{ matrix.type }}' --target curl-examples
old-mingw-w64:
name: 'old-mingw, CM ${{ matrix.env }} ${{ matrix.name }}'
- name: 'cmake build'
if: ${{ matrix.build == 'cmake' }}
- run: cmake --build bld --parallel 5
+ run: cmake --build bld
- name: 'cmake build tests'
if: ${{ matrix.build == 'cmake' }}
- run: cmake --build bld --parallel 5 --target testdeps
+ run: cmake --build bld --target testdeps
- name: 'cmake build examples'
if: ${{ matrix.build == 'cmake' }}
- run: cmake --build bld --parallel 5 --target curl-examples
+ run: cmake --build bld --target curl-examples
msvc:
name: 'msvc, CM ${{ matrix.arch }}-${{ matrix.plat }} ${{ matrix.name }}'