Skip to content

Commit e2241ef

Browse files
authored
fix: compiler
1 parent 2c8a570 commit e2241ef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
with:
3030
python-version: "3.10"
3131

32-
- name: Install GFortran (Linux)
33-
run: |
34-
sudo update-alternatives \
35-
--install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.gcc }} 100 \
36-
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${{ matrix.gcc }} \
37-
--slave /usr/bin/gcov gcov /usr/bin/gcov-${{ matrix.gcc }}
32+
- name: Setup Fortran compiler
33+
uses: fortran-lang/[email protected]
34+
id: setup-fortran
35+
with:
36+
compiler: gcc
37+
version: 10
3838

3939
- name: Install sphinx
4040
run: pip3 install --user -r requirements.txt

0 commit comments

Comments
 (0)