Skip to content

Commit

Permalink
BUG: find gcc
Browse files Browse the repository at this point in the history
Added lines to find gcc and a potential fix for uninstalling numpy.
  • Loading branch information
aburrell committed Jul 12, 2024
1 parent c3cda2c commit a2e0c3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
run: |
brew reinstall gcc
which gcc
gcc --version
ls /opt/homebrew/bin
ls /usr/bin
CC=/opt/homebrew/bin/gcc FC=/opt/homebrew/bin/gfortran pip install apexpy --no-binary==apexpy
- name: Install apexpy for Unix/Windows
Expand All @@ -63,7 +66,7 @@ jobs:
# Optional package, continue with tests if install fails
continue-on-error: true
run: |
pip uninstall numpy
pip uninstall -y numpy
pip install numpy<2.0.0
pip install apexpy --no-binary==apexpy
pip install numpy --upgrade
Expand Down

0 comments on commit a2e0c3e

Please sign in to comment.