Skip to content

Commit

Permalink
Force PATH to Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
lgeretti committed Nov 2, 2023
1 parent 6029a10 commit c3ad22c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Set Up macOS Dependencies
if: runner.os == 'macOS'
run: |
export PATH=$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin
export PATH=/Library/Frameworks/Python.framework/Versions/3.11/bin
brew install python ninja gcc@12 python3 mpfr cairo gnuplot pkg-config
python3 -m pip install --upgrade pip
pip3 install --upgrade pip
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Configure CMake
working-directory: ${{runner.workspace}}/build
run: |
export PATH=$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin
export PATH=/Library/Frameworks/Python.framework/Versions/3.11/bin
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_COMPILER=${{matrix.config.cxx}} -G "Ninja" -DWERROR=ON
- name: Build Library and Bindings
Expand All @@ -89,5 +89,5 @@ jobs:
- name: Test
working-directory: ${{runner.workspace}}/build
run: |
export PATH=$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin
export PATH=/Library/Frameworks/Python.framework/Versions/3.11/bin
ctest -j $($NPROC) --output-on-failure

0 comments on commit c3ad22c

Please sign in to comment.