-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README.md, LICENSE, and Github Action files.
- Loading branch information
1 parent
c64c6a3
commit c7807d3
Showing
3 changed files
with
779 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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 |
Oops, something went wrong.