From de4f9160e704a9c738662e7be8d880121eb6204a Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 25 May 2024 10:16:22 -0500 Subject: [PATCH] Github: Add test production 0.6 action. This is intended to be used on the `github-0.6` branch. --- .github/workflows/test-0.6.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test-0.6.yml diff --git a/.github/workflows/test-0.6.yml b/.github/workflows/test-0.6.yml new file mode 100644 index 0000000000..85d603cdcf --- /dev/null +++ b/.github/workflows/test-0.6.yml @@ -0,0 +1,31 @@ +name: Production - 0.6 - Run Tests + +on: + push: + branches: [ github-0.6 ] + + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + ref: 'github-0.6' + + - name: Add Dependencies + run: | + sudo apt-get update -y + sudo apt-get install -y libcap-dev libcmocka-dev + + - name: Run Tests Using GCC + run: | + cd $GITHUB_WORKSPACE + bash build/scripts/test.sh -p + + - name: Run Tests Using CLang + run: | + cd $GITHUB_WORKSPACE + bash build/scripts/test.sh -p -c clang