switch to quick example builds

This commit is contained in:
Viktor Szakats 2025-08-06 22:22:25 +02:00
parent 70b0451338
commit ad5db52792
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
6 changed files with 17 additions and 14 deletions

View file

@ -83,7 +83,7 @@ jobs:
time cmake --build bld --target test-ci
fi
echo '::group::build examples'
time cmake --build bld --target curl-examples
time cmake --build bld --target curl-examples-build
echo '::endgroup::'
openbsd:
@ -128,7 +128,7 @@ jobs:
time cmake --build bld --target test-ci
fi
echo '::group::build examples'
time cmake --build bld --target curl-examples
time cmake --build bld --target curl-examples-build
echo '::endgroup::'
freebsd:
@ -232,7 +232,7 @@ jobs:
if [ "${MATRIX_DESC#*!examples*}" = "${MATRIX_DESC}" ]; then
echo '::group::build examples'
if [ "${MATRIX_BUILD}" = 'cmake' ]; then
time cmake --build bld --target curl-examples
time cmake --build bld --target curl-examples-build
else
time make -C bld examples
fi
@ -361,7 +361,7 @@ jobs:
- name: 'build examples'
run: |
if [ "${MATRIX_BUILD}" = 'cmake' ]; then
cmake --build bld --target curl-examples
cmake --build bld --target curl-examples-build
else
make -C bld examples
fi
@ -473,7 +473,7 @@ jobs:
if: ${{ matrix.build == 'cmake' }} # skip for autotools to save time
run: |
if [ "${MATRIX_BUILD}" = 'cmake' ]; then
cmake --build bld --target curl-examples
cmake --build bld --target curl-examples-build
else
make -C bld examples
fi