File tree 1 file changed +7
-17
lines changed
1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change 5
5
strategy :
6
6
matrix :
7
7
os : [ubuntu-latest]
8
- gcc_v : [11]
8
+ toolchain :
9
+ - { compiler: gcc, version: 11 }
9
10
node-version : [20.x]
10
11
fail-fast : false
11
12
runs-on : ${{ matrix.os }}
12
- env :
13
- FC : gfortran-${{ matrix.gcc_v }}
14
- CC : gcc-${{ matrix.gcc_v }}
15
- CXX : g++-${{ matrix.gcc_v }}
16
- GCC_V : ${{ matrix.gcc_v }}
17
13
18
14
steps :
19
15
- uses : actions/checkout@v4
20
16
- name : Use Node.js ${{ matrix.node-version }}
21
17
uses : actions/setup-node@v4
22
18
with :
23
19
node-version : ${{ matrix.node-version }}
24
-
25
- - name : Install GCC compilers Linux
26
- if : contains( matrix.os, 'ubuntu')
27
- run : |
28
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test
29
- sudo apt-get update
30
- sudo apt-get install -y gcc-${GCC_V} g++-${GCC_V} gfortran-${GCC_V}
31
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_V} 100 \
32
- --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
33
- --slave /usr/bin/g++ g++ /usr/bin/g++-${GCC_V} \
34
- --slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
20
+ - uses : fortran-lang/setup-fortran@v1
21
+ id : setup-fortran
22
+ with :
23
+ compiler : ${{ matrix.toolchain.compiler }}
24
+ version : ${{ matrix.toolchain.version }}
35
25
36
26
- name : Installing Extension
37
27
run : npm ci
You can’t perform that action at this time.
0 commit comments