Build xerces-c only if missing.

This commit is contained in:
Roman Telezhynskyi 2023-03-06 16:34:39 +02:00
parent 65367edf91
commit 597c0d6d6d
2 changed files with 3 additions and 3 deletions

View File

@ -184,7 +184,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH"
- echo $PATH
- pwd
- conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=xerces-c/3.2.4
- conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=missing
- qbs setup-toolchains --detect
- qbs config --list profiles
- qbs setup-qt /opt/homebrew/opt/qt6/bin/qmake qt6

View File

@ -420,7 +420,7 @@ for:
- qbs-config --list profiles
build_script:
- conan install . -s os=Windows --build=xerces-c/3.2.4 -pr valentina
- conan install . -s os=Windows --build=missing -pr valentina
- qbs build -f valentina.qbs -d %APPVEYOR_BUILD_FOLDER%\build config:release qbs.installRoot:%APPVEYOR_BUILD_FOLDER%\build\install-root\valentina profile:qt6 project.enableConan:true modules.buildconfig.enableCcache:false project.conanProfiles:valentina modules.buildconfig.enablePCH:%ENABLE_PCH%
test_script:
@ -574,7 +574,7 @@ for:
- pwd
- |
if [[ "$ENABLE_CONAN" == "true" ]]; then
conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=xerces-c/3.2.4
conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=missing
fi
- qbs setup-toolchains --detect
- qbs config --list profiles