-
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.
Github: Add test production 0.6 action.
This is intended to be used on the `github-0.6` branch.
- Loading branch information
1 parent
05e440a
commit de4f916
Showing
1 changed file
with
31 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 - 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 |