Prebuild xerces-c with correct macos deployment target version we need.

Required version is not always available by default.
This commit is contained in:
Roman Telezhynskyi 2023-02-20 15:57:54 +02:00
parent 84529d7b39
commit 3c19d0123d

View File

@ -164,17 +164,19 @@ macos_task_template: &MACOS_TASK_TEMPLATE
folder: ${PIP_CACHE_DIR} folder: ${PIP_CACHE_DIR}
install_script: install_script:
- brew update > /dev/null - brew update > /dev/null
- brew install qt6 coreutils ccache conan qbs - brew install qt6 coreutils ccache conan qbs cmake
- chmod -R 755 /opt/homebrew/opt/qt6/* - chmod -R 755 /opt/homebrew/opt/qt6/*
- python3 --version - python3 --version
- pip3 install --user --upgrade pip dropbox - pip3 install --user --upgrade pip dropbox
- ccache --set-config=sloppiness=pch_defines,time_macros - ccache --set-config=sloppiness=pch_defines,time_macros
- conan --version
- clang --version - clang --version
- qmake --version - qmake --version
- which qmake - which qmake
- qbs --version - qbs --version
build_script: build_script:
- pwd - pwd
- conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=xerces-c
- qbs setup-toolchains --detect - qbs setup-toolchains --detect
- qbs config --list profiles - qbs config --list profiles
- qbs setup-qt /opt/homebrew/opt/qt6/bin/qmake qt6 - qbs setup-qt /opt/homebrew/opt/qt6/bin/qmake qt6