Skip to content

Commit 446fea3

Browse files
authored
Update build_wheels_and_publish.yml
1 parent 25cd40c commit 446fea3

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/build_wheels_and_publish.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,6 @@ jobs:
2929
with:
3030
python-version: "3.10"
3131

32-
- name: Install Fortran compiler (Linux)
33-
if: runner.os == 'Linux'
34-
run: sudo apt-get install -y gfortran
35-
36-
- name: Install Fortran compiler (Mac)
37-
if: runner.os == 'macOS'
38-
run: |
39-
brew install gcc
40-
sudo ln -s /usr/local/bin/gfortran-11 /usr/local/bin/gfortran || true
41-
which gfortran
42-
4332
- name: Setup Mac
4433
if: runner.os == 'macOS'
4534
run: |
@@ -52,6 +41,7 @@ jobs:
5241
5342
- name: Build wheels
5443
run: |
44+
which gcc
5545
sudo ln -s /usr/local/bin/gfortran-11 /usr/local/bin/gfortran || true
5646
sudo mkdir /usr/local/gfortran || true
5747
sudo ln -s /usr/local/Cellar/gcc/$(brew list --versions gcc | cut -d ' ' -f 2)/lib/gcc/$(brew list --versions gcc | cut -d ' ' -f 2 | cut -d. -f1-2) /usr/local/gfortran/lib || true

0 commit comments

Comments
 (0)