Skip to content

Commit

Permalink
add PATH at env_vars
Browse files Browse the repository at this point in the history
  • Loading branch information
vot4anto committed Oct 10, 2024
2 parents cc4b92c + 7dc9769 commit ba55872
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/macos_arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
- uses: actions/checkout@v4
- name: Setup cmake
run: |
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
brew install cmake
echo "check python3"
Expand Down Expand Up @@ -109,8 +108,7 @@ jobs:
submodules: true
- name: Setup cmake
run: |
ls -lrt /opt/homebrew/bin/
/opt/homebrew/bin/brew install cmake
brew install cmake
echo "check python3"
python3 -c "import sys; print(sys.version)"
- name: Get code of Fiona
Expand Down Expand Up @@ -154,8 +152,7 @@ jobs:
- uses: actions/checkout@v4
- name: Setup cmake
run: |
ls -lrt /opt/homebrew/bin/
/opt/homebrew/bin/brew install cmake
brew install cmake
echo "check python3"
python3 -c "import sys; print(sys.version)"
- name: Get code of gdal
Expand Down
3 changes: 3 additions & 0 deletions env_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export MACOSX_DEPLOYMENT_TARGET=11.0
if [ -z "$IS_OSX" ] || [ "$PLAT" == x86_64 ]; then
export MACOSX_DEPLOYMENT_TARGET=13.0
fi
if [ -z "$IS_OSX" ] || [ "$PLAT" == arm_64 ]; then
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
fi
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
export GDAL_CONFIG=/usr/local/bin/gdal-config
export PACKAGE_DATA=1
Expand Down

0 comments on commit ba55872

Please sign in to comment.