diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-08-25 11:56:26 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-08-25 12:01:56 +0200 |
commit | fc4f74aa47b0c15de3fb7d08e8aed7a2a5e086fd (patch) | |
tree | b5d4e1b1a51c017539e2b5d939501aea55c5a4e3 | |
parent | 4e2b9f09654ff31602eaa294e0ac77b2f82ea3a9 (diff) |
ci: add clang build
-rw-r--r-- | .github/workflows/ci.yml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb7fb0a8..5482d1eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,29 @@ jobs: - name: Build run: make - name: Distcheck - run: make distcheck + run: make distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-werror + + build-ubuntu-clang-latest: + runs-on: ubuntu-latest + env: + CC: clang-10 + steps: + - uses: actions/checkout@v2 + - name: install clang repo + run: | + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add - + sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main' -y + sudo apt-get update -q + - name: Install Dependencies + run: sudo apt-get install clang-10 libncursesw5-dev + - name: Bootstrap + run: ./autogen.sh + - name: Configure + run: ./configure --enable-werror + - name: Build + run: make + - name: Distcheck + run: make distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-werror whitespace_check: runs-on: ubuntu-latest |