diff options
author | Murray Cumming <murraycu@google.com> | 2021-01-02 18:04:41 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2021-01-02 18:20:49 +0100 |
commit | f836f7337d5f1c9f42ff2863574d6da54e379703 (patch) | |
tree | f935d0f23e586fb41301e362e48cef6e27afdd9b | |
parent | a7d09ad139792fe128563688e8ebddd5fcf85b7c (diff) | |
download | sigc++-f836f7337d5f1c9f42ff2863574d6da54e379703.tar.gz |
GitHub Actions: Try gcc 8 and gcc 9 too
-rw-r--r-- | .github/workflows/autotools-gcc-10.yml | 25 | ||||
-rw-r--r-- | .github/workflows/autotools-gcc-9.yml | 25 |
2 files changed, 50 insertions, 0 deletions
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 |