File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed
Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change 55 strategy :
66 matrix :
77 os : [ubuntu-latest]
8- gcc_v : [11]
8+ toolchain :
9+ - { compiler: gcc, version: 11 }
910 node-version : [20.x]
1011 fail-fast : false
1112 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 }}
1713
1814 steps :
1915 - uses : actions/checkout@v4
2016 - name : Use Node.js ${{ matrix.node-version }}
2117 uses : actions/setup-node@v4
2218 with :
2319 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 }}
3525
3626 - name : Installing Extension
3727 run : npm ci
You can’t perform that action at this time.
0 commit comments