-
-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #1064 Potential deadlock in statistics code
fixes #1063 Include sanitizer runs in CI fixes #1068 Wssfile test sometimes fails with wrong error code While here, addressed a number of clang-tidy items, and some light cleanup of code we were already in.
- Loading branch information
Showing
11 changed files
with
177 additions
and
146 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,37 @@ | ||
name: coverage | ||
on: [push] | ||
jobs: | ||
sanitize: | ||
|
||
strategy: | ||
matrix: | ||
sanitizer: [ address, undefined, thread ] | ||
os: [ ubuntu-latest ] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Install Dependencies (Linux) | ||
run: sudo apt-get install ninja-build libmbedtls-dev | ||
if: runner.os == Linux | ||
|
||
- name: Install Dependencies (macOS) | ||
run: brew install ninja mbedtls | ||
if: runner.os == macOS | ||
|
||
- name: Configure | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -G Ninja -DNNG_SANITIZER=${{ matrix.sanitizer }} -DNNG_ENABLE_TLS=ON -DNNG_TOOLS=OFF .. | ||
env: | ||
CC: clang | ||
CXX: clang++ | ||
- name: Build | ||
run: | | ||
cd build | ||
ninja | ||
- name: Test | ||
run: | | ||
cd build | ||
ninja test |
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
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
Oops, something went wrong.