diff options
author | Nathan Scott <nathans@redhat.com> | 2021-02-17 15:47:17 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-06-09 17:09:29 +1000 |
commit | 5ef8706d72fcab68d4396a2403be0dccaf8671f3 (patch) | |
tree | 2bde8ecbdd321266e6ade839fe3d48fa954afdef /.github | |
parent | c14a45ba359148fa0abe7ab72ed8ea0c1aa1ce28 (diff) |
Add new CI workflow to check pcp-enabled builds
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afc9db88..ea9f4b68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,24 @@ jobs: - name: Distcheck run: make distcheck DISTCHECK_CONFIGURE_FLAGS='--enable-static --enable-werror --enable-openvz --enable-vserver --enable-ancient-vserver --enable-unicode --disable-hwloc --disable-delayacct --enable-sensors --enable-capabilities' + build-ubuntu-latest-pcp: + # Turns out 'ubuntu-latest' can be older than 20.04, we want PCP v5+ + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Install Dependencies + run: sudo apt-get install libpcp3-dev libncursesw5-dev libtinfo-dev libgpm-dev + - 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 + - name: Build + run: make -k + - name: Distcheck + run: make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-pcp --enable-unicode" + build-ubuntu-latest-clang-analyzer: runs-on: ubuntu-latest env: |