From 638ee0b7091f5bc2bc870ba9cb76d93812b6b5e3 Mon Sep 17 00:00:00 2001 From: Antonio Ettorre <56338190+vot4anto@users.noreply.github.com> Date: Thu, 10 Oct 2024 19:50:16 +0200 Subject: [PATCH] Update macos_arm64.yaml with PATH --- .github/workflows/macos_arm64.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos_arm64.yaml b/.github/workflows/macos_arm64.yaml index 2a62cab6..c36eb686 100644 --- a/.github/workflows/macos_arm64.yaml +++ b/.github/workflows/macos_arm64.yaml @@ -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: @@ -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: @@ -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