From 319fe90f4ad5b2a546d1d6b686ef02e6d1a0fea0 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Sat, 25 Apr 2020 10:19:53 +0200 Subject: 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. --- .github/workflows/autotools-clang-10.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/autotools-clang-10.yml 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 -- cgit v1.2.1