From: Tom Hromatka Date: Fri, 18 Mar 2022 14:49:30 +0000 (-0600) Subject: github: Add make distcheck Github Action X-Git-Tag: v3.0~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa6726ed2eeae4dff5208bf9eec9230ada8ee00;p=thirdparty%2Flibcgroup.git github: Add make distcheck Github Action Add a step to run `make distcheck` in the continuous integration GitHub Action. Signed-off-by: Tom Hromatka Reviewed-by: Kamalesh Babulal --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f3c9d5bd..a2595212 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -107,6 +107,26 @@ jobs: name: Unit Test Code Coverage path: lcov.* + distcheckv1: + name: Cgroup v1 Dist Check + runs-on: ubuntu-latest + + steps: + - name: Install container dependencies + run: sudo apt-get install lxc lxd + - uses: actions/checkout@v2 + with: + submodules: false + - name: Initialize the directory + uses: ./.github/actions/setup-libcgroup + - name: Run make distcheck + run: make distcheck + - name: Display test logs + if: ${{ failure() }} + run: | + cat libcgroup-*/_build/sub/tests/ftests/ftests.sh.log + cat libcgroup-*/_build/sub/tests/ftests/ftests-nocontainer.sh.log + functionaltestsv1: name: Cgroup v1 Functional Tests runs-on: ubuntu-latest