File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 55 strategy :
66 matrix :
77 os : [ubuntu-latest]
8+ gcc_v : [11]
89 node-version : [18.x]
910 fail-fast : false
1011 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+
1118 steps :
1219 - uses : actions/checkout@v3
1320 - name : Use Node.js ${{ matrix.node-version }}
1421 uses : actions/setup-node@v3
1522 with :
1623 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}
35+
1736 - name : Installing Extension
1837 run : npm ci
1938 - name : Compile
You can’t perform that action at this time.
0 commit comments