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 5
5
strategy :
6
6
matrix :
7
7
os : [ubuntu-latest]
8
+ gcc_v : [11]
8
9
node-version : [18.x]
9
10
fail-fast : false
10
11
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
+
11
18
steps :
12
19
- uses : actions/checkout@v3
13
20
- name : Use Node.js ${{ matrix.node-version }}
14
21
uses : actions/setup-node@v3
15
22
with :
16
23
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
+
17
36
- name : Installing Extension
18
37
run : npm ci
19
38
- name : Compile
You can’t perform that action at this time.
0 commit comments