Skip to content

Commit

Permalink
Update macos_arm64.yaml with PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
vot4anto authored Oct 10, 2024
1 parent 4c2621c commit 638ee0b
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/macos_arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,23 @@ jobs:
submodules: true
- name: Setup cmake
run: |
ls -lrt /opt/homebrew/bin/
/opt/homebrew/bin/brew install cmake
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
brew install cmake
echo "check python3"
python3 -c "import sys; print(sys.version)"
- name: Get code of Fiona
run: |
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
bash -x .github/workflows/build.sh
- name: Build Wheel of Fiona
env:
BUILD_COMMIT: 1.9.5
BUILD_DEPENDS: "oldest-supported-numpy cython wheel numpy==1.26.4 setuptools"
TEST_DEPENDS: "oldest-supported-numpy attrs pytest click mock boto3 packaging hypothesis wheel pytz numpy==1.26.4"
run: |
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
bash -x .github/workflows/wheel.sh
- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -158,15 +162,20 @@ jobs:
- uses: actions/checkout@v4
- name: Setup cmake
run: |
ls -lrt /opt/homebrew/bin/
/opt/homebrew/bin/brew install cmake
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
brew install cmake
echo "check python3"
python3 -c "import sys; print(sys.version)"
- name: Get code of gdal
run: |
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
bash -x .github/workflows/build.sh
- name: Build Wheel of GDAL
run: |
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
bash -x .github/workflows/wheel.sh
- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -205,6 +214,8 @@ jobs:
- name: Test wheels with python ${{ matrix.python-version }}
run: |
set -x
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
echo $PATH
echo "engine installation to test wheel"
python3 -m venv $HOME/openquake
source $HOME/openquake/bin/activate
Expand Down

0 comments on commit 638ee0b

Please sign in to comment.