Skip to content

Commit a52a968

Browse files
committed
1 parent b7531ac commit a52a968

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
test:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-20.04
1010
strategy:
1111
fail-fast: false
1212
matrix:
@@ -215,7 +215,10 @@ jobs:
215215
shell: bash -eo pipefail -l {0}
216216
run: |
217217
if [[ "${{ matrix.node-version }}" == 0.6* ]]; then
218-
sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev
218+
sudo sh -c 'echo "deb http://us.archive.ubuntu.com/ubuntu/ bionic universe" >> /etc/apt/sources.list'
219+
sudo sh -c 'echo "deb http://security.ubuntu.com/ubuntu bionic-security main" >> /etc/apt/sources.list'
220+
sudo apt-get update
221+
sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev python2 python-is-python2
219222
export CC=/usr/bin/gcc-4.8
220223
export CXX=/usr/bin/g++-4.8
221224
fi

0 commit comments

Comments
 (0)