Add README.md, LICENSE, and Github Action files. #16
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 - Run Tests | |
on: | |
push: | |
branches: [ github ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: 'github' | |
- 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 |