-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial CI flow * Update false_positive file to current line numbers
- Loading branch information
1 parent
2ed35df
commit f12f640
Showing
2 changed files
with
32 additions
and
4 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
*:duo.c:449 | ||
*:duo.c:457 | ||
*:duo.c:497 | ||
*:duo.c:232 | ||
// Suppress "Memory leak" error in `return (duo_auth_free(auth));` | ||
*:duo.c:479 | ||
// Suppress "Memory leak" error in `return (duo_auth_free(auth));` | ||
*:duo.c:487 | ||
// Suppress "Memory leak" error in `return (auth);` | ||
*:duo.c:527 |
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,26 @@ | ||
name: libduo CI | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
ci: | ||
name: libduo CI - test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install packages | ||
run: sudo apt-get install -y gcc make libssl-dev cppcheck | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: ./configure && make | ||
|
||
- name: Static analysis | ||
run: cppcheck --quiet --force --suppressions-list=.false_positive.txt --error-exitcode=1 . |