Skip to content

Commit

Permalink
test: update compiler used for testing (#1079)
Browse files Browse the repository at this point in the history
Looks like github no longer has ubuntu 16 so we'll
need to update the compiler and remove 10.x testing.
  • Loading branch information
mhdawson authored Sep 30, 2021
1 parent 4351bff commit 1404b7c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ jobs:
strategy:
matrix:
node-version:
- node/10
- node/12
- node/14
- node/15
- node/16
compiler:
- gcc
- clang
os:
- ubuntu-16.04 # ubuntu-18.04/ubuntu-latest missing package g++-4.9
- ubuntu-18.04
- macos-latest
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -27,7 +25,7 @@ jobs:
if [ "${{ matrix.compiler }}" = "gcc" -a "${{ matrix.os }}" = ubuntu-* ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.9
sudo apt-get install g++-6.5
fi
- name: Use Node.js ${{ matrix.node-version }}
run: |
Expand All @@ -45,7 +43,7 @@ jobs:
export CC="gcc" CXX="g++"
fi
if [ "${{ matrix.compiler }}" = "gcc" -a "${{ matrix.os }}" = ubuntu-* ]; then
export CC="gcc-4.9" CXX="g++-4.9" AR="gcc-ar-4.9" RANLIB="gcc-ranlib-4.9" NM="gcc-nm-4.9"
export CC="gcc-6.5" CXX="g++-6.5" AR="gcc-ar-6.5" RANLIB="gcc-ranlib-6.5" NM="gcc-nm-6.5"
fi
if [ "${{ matrix.compiler }}" = "clang" ]; then
export CC="clang" CXX="clang++"
Expand Down

0 comments on commit 1404b7c

Please sign in to comment.