appveyor: drop unnecessary --clean-first cmake option

In CI all machines are fresh on startup, making the `clean` operation
unnecessary. This can save some time/energy for each job run.

Closes #13707
This commit is contained in:
Viktor Szakats 2024-05-19 10:15:48 +02:00
parent 0b31c713a9
commit 2a9e08c2d0
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -62,7 +62,7 @@ if [ "${BUILD_SYSTEM}" = 'CMake' ]; then
'-DCMAKE_INSTALL_PREFIX=C:/curl' \ '-DCMAKE_INSTALL_PREFIX=C:/curl' \
"-DCMAKE_BUILD_TYPE=${PRJ_CFG}" "-DCMAKE_BUILD_TYPE=${PRJ_CFG}"
# shellcheck disable=SC2086 # shellcheck disable=SC2086
cmake --build _bld --config "${PRJ_CFG}" --parallel 2 --clean-first -- ${BUILD_OPT:-} cmake --build _bld --config "${PRJ_CFG}" --parallel 2 -- ${BUILD_OPT:-}
if [ "${SHARED}" = 'ON' ]; then if [ "${SHARED}" = 'ON' ]; then
cp -f -p _bld/lib/*.dll _bld/src/ cp -f -p _bld/lib/*.dll _bld/src/
fi fi