diff options
-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 |