Skip to content

Commit 1404b7c

Browse files
authored
test: update compiler used for testing (#1079)
Looks like github no longer has ubuntu 16 so we'll need to update the compiler and remove 10.x testing.
1 parent 4351bff commit 1404b7c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ jobs:
88
strategy:
99
matrix:
1010
node-version:
11-
- node/10
1211
- node/12
1312
- node/14
14-
- node/15
1513
- node/16
1614
compiler:
1715
- gcc
1816
- clang
1917
os:
20-
- ubuntu-16.04 # ubuntu-18.04/ubuntu-latest missing package g++-4.9
18+
- ubuntu-18.04
2119
- macos-latest
2220
runs-on: ${{ matrix.os }}
2321
steps:
@@ -27,7 +25,7 @@ jobs:
2725
if [ "${{ matrix.compiler }}" = "gcc" -a "${{ matrix.os }}" = ubuntu-* ]; then
2826
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
2927
sudo apt-get update
30-
sudo apt-get install g++-4.9
28+
sudo apt-get install g++-6.5
3129
fi
3230
- name: Use Node.js ${{ matrix.node-version }}
3331
run: |
@@ -45,7 +43,7 @@ jobs:
4543
export CC="gcc" CXX="g++"
4644
fi
4745
if [ "${{ matrix.compiler }}" = "gcc" -a "${{ matrix.os }}" = ubuntu-* ]; then
48-
export CC="gcc-4.9" CXX="g++-4.9" AR="gcc-ar-4.9" RANLIB="gcc-ranlib-4.9" NM="gcc-nm-4.9"
46+
export CC="gcc-6.5" CXX="g++-6.5" AR="gcc-ar-6.5" RANLIB="gcc-ranlib-6.5" NM="gcc-nm-6.5"
4947
fi
5048
if [ "${{ matrix.compiler }}" = "clang" ]; then
5149
export CC="clang" CXX="clang++"

0 commit comments

Comments
 (0)