From 09b82eb2c436f85941cbe7d6b9ec63812328453b Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Sat, 2 Jan 2021 18:04:41 +0100 Subject: GitHub Actions: Try gcc 8 and gcc 9 too --- .github/workflows/autotools-gcc-10.yml | 25 +++++++++++++++++++++++++ .github/workflows/autotools-gcc-9.yml | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .github/workflows/autotools-gcc-10.yml create mode 100644 .github/workflows/autotools-gcc-9.yml diff --git a/.github/workflows/autotools-gcc-10.yml b/.github/workflows/autotools-gcc-10.yml new file mode 100644 index 0000000..2082f4f --- /dev/null +++ b/.github/workflows/autotools-gcc-10.yml @@ -0,0 +1,25 @@ +name: "CI: autotools: gcc 10" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + sudo apt update + sudo apt install mm-common g++-10 + export CXX=g++-10 + ./autogen.sh --enable-warnings=fatal + make + - name: Test + run: make check + - name: Distcheck + run: | + # distcheck runs configure again so we need to specify CXX again. + export CXX=g++-10 + make distcheck diff --git a/.github/workflows/autotools-gcc-9.yml b/.github/workflows/autotools-gcc-9.yml new file mode 100644 index 0000000..0b2d9b1 --- /dev/null +++ b/.github/workflows/autotools-gcc-9.yml @@ -0,0 +1,25 @@ +name: "CI: autotools: gcc 9" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + sudo apt update + sudo apt install mm-common g++-9 + export CXX=g++-9 + ./autogen.sh --enable-warnings=fatal + make + - name: Test + run: make check + - name: Distcheck + run: | + # distcheck runs configure again so we need to specify CXX again. + export CXX=g++-9 + make distcheck -- cgit v1.2.1