From 0aa6726ed2eeae4dff5208bf9eec9230ada8ee00 Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Fri, 18 Mar 2022 08:49:30 -0600 Subject: [PATCH] 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 --- .github/workflows/continuous-integration.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 -- 2.47.2