summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-26 10:08:50 +1000
committerNathan Scott <nathans@redhat.com>2020-08-26 10:08:50 +1000
commitba94e0dfda180e83557f2f2c229a71910467aee8 (patch)
tree11a12c54eb7fa67ed6e0db7b835407310c0d2237 /.github
parent054b7f28013d4e392dbd34f2fa777ccc7c17b499 (diff)
parentfc4f74aa47b0c15de3fb7d08e8aed7a2a5e086fd (diff)
Merge branch 'ci2' of https://github.com/cgzones/htop into cgzones-ci2
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml24
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy