summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-11-27 13:50:18 +0100
committerBenBE <BenBE@geshi.org>2021-12-20 10:54:12 +0100
commit442c1596f658daa667e5e25d9bc44beb4072bb64 (patch)
tree0c2b3f8f7e365cbddf0a0a9f239c7b8c7903f6cc
parentf782f821f7f8081cb43bbad1c37f32830a260a81 (diff)
GH Actions: enable Werror in PCP build
Just exclude the singe warning type currently issued. Avoids e64269df ("Fix process state handling compiler warning on PCP platform")
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 617ed305..af8ed883 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -113,6 +113,10 @@ jobs:
build-ubuntu-latest-pcp:
# Turns out 'ubuntu-latest' can be older than 20.04, we want PCP v5+
runs-on: ubuntu-20.04
+ env:
+ # Until Ubuntu catches up with pcp-5.2.3+:
+ # pcp/Platform.c:309:45: warning: passing argument 2 of ‘pmLookupName’ from incompatible pointer type [-Wincompatible-pointer-types]
+ CFLAGS: -Wno-error=incompatible-pointer-types
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
@@ -120,9 +124,7 @@ jobs:
- name: Bootstrap
run: ./autogen.sh
- name: Configure
- # Until Ubuntu catches up with pcp-5.2.3+, cannot use -werror due to:
- # passing argument 2 of ‘pmLookupName’ from incompatible pointer type
- run: ./configure --enable-pcp --enable-unicode
+ run: ./configure --enable-werror --enable-pcp --enable-unicode
- name: Build
run: make -k

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