ci: fix gcc 4.8 builds

This commit is contained in:
Michael Davidsaver
2021-02-21 11:16:20 -08:00
parent 9d0597fc15
commit c4348dc6e0
2 changed files with 6 additions and 5 deletions

View File

@@ -82,19 +82,19 @@ jobs:
- os: ubuntu-16.04
cmp: gcc-4.8
utoolchain: true
utoolchain: "4.8"
configuration: default
name: "Ub-16 gcc-4.8"
- os: ubuntu-16.04
cmp: gcc-4.9
utoolchain: true
utoolchain: "4.9"
configuration: default
name: "Ub-16 gcc-4.9"
- os: ubuntu-20.04
cmp: gcc-8
utoolchain: true
utoolchain: "8"
configuration: default
name: "Ub-20 gcc-8"
@@ -131,10 +131,11 @@ jobs:
if: runner.os == 'Linux'
- name: "apt-get install ${{ matrix.cmp }}"
run: |
sudo apt-get update
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get -y install ${{ matrix.cmp }}
sudo apt-get -y install g++-${{ matrix.utoolchain }}
if: matrix.utoolchain
- name: Prepare and compile dependencies
run: python .ci/cue.py prepare