mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 17:32:23 +00:00
Updated Github/Gitlab CI
* instrument Clang's thread sanitizer for tests Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
2
.github/workflows/build-openwrt.yml
vendored
2
.github/workflows/build-openwrt.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
target: x86-64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -29,15 +29,19 @@ jobs:
|
||||
include:
|
||||
- compiler: "default-cc"
|
||||
os: "ubuntu-latest"
|
||||
sanitizer: "-DENABLE_SANITIZER=ON"
|
||||
- compiler: "clang-12"
|
||||
os: "ubuntu-latest"
|
||||
sanitizer: "-DENABLE_SANITIZER_THREAD=ON"
|
||||
- compiler: "gcc-10"
|
||||
os: "ubuntu-latest"
|
||||
sanitizer: "-DENABLE_SANITIZER=ON"
|
||||
- compiler: "gcc-7"
|
||||
os: "ubuntu-latest"
|
||||
os: "ubuntu-18.04"
|
||||
sanitizer: "-DENABLE_SANITIZER=ON"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
- name: Install Ubuntu Prerequisites
|
||||
@@ -62,7 +66,7 @@ jobs:
|
||||
- name: Configure nDPId
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
cmake .. -DENABLE_SYSTEMD=ON -DENABLE_COVERAGE=ON -DBUILD_EXAMPLES=ON -DBUILD_NDPI=ON -DENABLE_SANITIZER=ON ${{ matrix.ndpid_zlib }} ${{ matrix.ndpid_gcrypt }}
|
||||
cmake .. -DENABLE_SYSTEMD=ON -DENABLE_COVERAGE=ON -DBUILD_EXAMPLES=ON -DBUILD_NDPI=ON ${{ matrix.sanitizer }} ${{ matrix.ndpid_zlib }} ${{ matrix.ndpid_gcrypt }}
|
||||
- name: Build nDPId
|
||||
run: |
|
||||
make -C build all VERBOSE=1
|
||||
|
||||
Reference in New Issue
Block a user