diff options
author | Murray Cumming <murrayc@murrayc.com> | 2021-01-02 18:00:40 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2021-01-02 18:05:00 +0100 |
commit | a7d09ad139792fe128563688e8ebddd5fcf85b7c (patch) | |
tree | 36e1cc3843ed88cfa352ba4ef5e6aaac747a54e7 | |
parent | 70bf0b919ab2b76804d06c11b72fb0b928d4b102 (diff) | |
download | sigc++-a7d09ad139792fe128563688e8ebddd5fcf85b7c.tar.gz |
GitHub Actions: Try clang-10 too
-rw-r--r-- | .github/workflows/autotools-clang-10.yml | 27 |
1 files changed, 27 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..a398b3a --- /dev/null +++ b/.github/workflows/autotools-clang-10.yml @@ -0,0 +1,27 @@ +name: "CI: autotools: clang 10" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + # Prevent blocking apt install on a question during configuring of tzdata. + export ENV DEBIAN_FRONTEND=noninteractive + sudo apt update + sudo apt install mm-common clang-10 make --yes + export CC=clang-10 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 CC and CXX again. + export CC=clang-10 CXX=clang++-10 + make distcheck |