Github: Add test production 0.6 action. #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |