diff options
author | Murray Cumming <murraycu@google.com> | 2020-04-25 10:19:53 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2020-04-26 07:21:39 +0200 |
commit | 319fe90f4ad5b2a546d1d6b686ef02e6d1a0fea0 (patch) | |
tree | 75ecfbb7252345e6990cf8c28522e329493abbab | |
parent | 4e75b93462f68b7a2870130b7e8ce03b1207ce46 (diff) | |
download | sigc++-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.yml | 28 |
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 |