Skip to content

Commit

Permalink
build: ubuntu@20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jul 4, 2022
1 parent 663c9ae commit 1e849a8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
name:
Expand Down Expand Up @@ -90,12 +90,12 @@ jobs:

- name: Node.js 8.x
node-version: "8.17"
npm-i: mocha@7.1.2
npm-i: mocha@7.1.2 nyc@14.1.1
npm-rm: beautify-benchmark benchmark top-sites

- name: Node.js 9.x
node-version: "9.11"
npm-i: mocha@7.1.2
npm-i: mocha@7.1.2 nyc@14.1.1
npm-rm: beautify-benchmark benchmark top-sites

- name: Node.js 10.x
Expand Down Expand Up @@ -131,7 +131,10 @@ jobs:
shell: bash -eo pipefail -l {0}
run: |
if [[ "${{ matrix.node-version }}" == 0.6* ]]; then
sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev
sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/ bionic universe" >> /etc/apt/sources.list'
sudo sh -c 'echo "deb http://security.ubuntu.com/ubuntu bionic-security main" >> /etc/apt/sources.list'
sudo apt-get update
sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev python2 python-is-python2
export CC=/usr/bin/gcc-4.8
export CXX=/usr/bin/g++-4.8
fi
Expand Down

0 comments on commit 1e849a8

Please sign in to comment.