Replace GCC 9 with GCC 10 on Ubuntu 20.04

develop
lethosor 2020-10-07 12:04:34 -04:00
parent c4da68b3a3
commit ea931897b9
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 7 additions and 3 deletions

@ -4,15 +4,19 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ${{ matrix.os }}
name: build (Linux, GCC ${{ matrix.gcc }}) name: build (Linux, GCC ${{ matrix.gcc }})
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os:
- ubuntu-18.04
gcc: gcc:
- 4.8 - 4.8
- 7 - 7
- 9 include:
- os: ubuntu-20.04
gcc: 10
steps: steps:
- name: Set up Python 3 - name: Set up Python 3
uses: actions/setup-python@v2 uses: actions/setup-python@v2
@ -32,7 +36,7 @@ jobs:
zlib1g-dev zlib1g-dev
pip install sphinx pip install sphinx
- name: Install GCC - name: Install GCC
if: ${{ matrix.gcc < 7 }} if: ${{ matrix.gcc < 7 || matrix.gcc > 9 }}
run: | run: |
sudo apt-get install gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }} sudo apt-get install gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }}
- name: Clone DFHack - name: Clone DFHack