Add two GCC versions to build matrix

develop
lethosor 2020-10-07 00:37:35 -04:00
parent d850389cde
commit 615bb81da6
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 9 additions and 0 deletions

@ -5,6 +5,12 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
gcc:
- 7
- 9
steps:
- name: Set up Python 3
uses: actions/setup-python@v2
@ -44,6 +50,9 @@ jobs:
run: |
sh travis/download-df.sh
- name: Build DFHack
env:
CC: gcc-${{ matrix.gcc }}
CXX: g++-${{ matrix.gcc }}
run: |
cmake \
-S . \