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:
parent
0b31c713a9
commit
2a9e08c2d0
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user