Set PATH for each stage separately.

This commit is contained in:
Roman Telezhynskyi 2023-02-25 20:44:39 +02:00
parent e9b1c769ee
commit 2ee06edbb2

View File

@ -148,7 +148,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
env:
ACCESS_TOKEN: ENCRYPTED[81e0b2381ffb628b73f5c94f834010e6631191e0ad03cdd0850d440fb2737a74b68131d842030f010c1bf73ab4cdc1ae]
QTDIR: "/opt/homebrew/opt/qt6"
PATH: ${HOME}/.local/bin:`python3 -m site --user-base`/bin:$QTDIR/bin:${PATH}
PATH: $QTDIR/bin:${PATH}
# ^ add user paths
PIP_CACHE_DIR: ${HOME}/.cache/pip
LDFLAGS: "-L$QTDIR/lib"
@ -163,6 +163,8 @@ macos_task_template: &MACOS_TASK_TEMPLATE
pip_cache:
folder: ${PIP_CACHE_DIR}
install_script:
- echo $PATH
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH"
- echo $PATH
- clang --version
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
@ -178,6 +180,8 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- which qmake
- qbs --version
build_script:
- echo $PATH
- 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