summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murraycu@google.com>2021-01-02 18:04:41 +0100
committerMurray Cumming <murrayc@murrayc.com>2021-01-02 18:11:31 +0100
commit09b82eb2c436f85941cbe7d6b9ec63812328453b (patch)
treef935d0f23e586fb41301e362e48cef6e27afdd9b
parenta7d09ad139792fe128563688e8ebddd5fcf85b7c (diff)
downloadsigc++-actions-add-gcc-8-and-9.tar.gz
GitHub Actions: Try gcc 8 and gcc 9 tooactions-add-gcc-8-and-9
-rw-r--r--.github/workflows/autotools-gcc-10.yml25
-rw-r--r--.github/workflows/autotools-gcc-9.yml25
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