summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murraycu@google.com>2020-04-25 10:19:53 +0200
committerMurray Cumming <murrayc@murrayc.com>2020-04-26 07:21:39 +0200
commit319fe90f4ad5b2a546d1d6b686ef02e6d1a0fea0 (patch)
tree75ecfbb7252345e6990cf8c28522e329493abbab
parent4e75b93462f68b7a2870130b7e8ce03b1207ce46 (diff)
downloadsigc++-319fe90f4ad5b2a546d1d6b686ef02e6d1a0fea0.tar.gz
GitHub Actions CI: Add a clang++ 10 build
Like the clang-10 CI, this uses a newer Ubuntu version (20.04) by specifying a different docker image. Because of that, we no longer need to use sudo with apt.
-rw-r--r--.github/workflows/autotools-clang-10.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/autotools-clang-10.yml b/.github/workflows/autotools-clang-10.yml
new file mode 100644
index 0000000..84e9f73
--- /dev/null
+++ b/.github/workflows/autotools-clang-10.yml
@@ -0,0 +1,28 @@
+name: "CI: autotools: clang 10"
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ container: ubuntu:20.04
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Build
+ run: |
+ # Prevent blocking the install on a question during configuring of tzdata.
+ export ENV DEBIAN_FRONTEND=noninteractive
+ apt update
+ apt install build-essential mm-common clang-10 --yes
+ export CXX=clang++-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=clang++-10
+ make distcheck