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:00:40 +0100 |
commit | 676bdde0ec71c11df53edca648c9928da095520e (patch) | |
tree | 36e1cc3843ed88cfa352ba4ef5e6aaac747a54e7 /.github/workflows/autotools-clang-10.yml | |
parent | 70bf0b919ab2b76804d06c11b72fb0b928d4b102 (diff) | |
download | sigc++-actions-add-clang-10.tar.gz |
GitHub Actions: Try clang-10 tooactions-add-clang-10
Diffstat (limited to '.github/workflows/autotools-clang-10.yml')
-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 |