mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Add some analysis tools
This commit is contained in:
parent
23e168b955
commit
a2a8c3d4ee
36
.github/workflows/tests.yml
vendored
36
.github/workflows/tests.yml
vendored
|
@ -52,6 +52,42 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
make lint
|
make lint
|
||||||
|
|
||||||
|
analyse:
|
||||||
|
name: Code Analysers
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: true
|
||||||
|
matrix:
|
||||||
|
flags:
|
||||||
|
- -fsanitize=leak
|
||||||
|
- -fsanitize=address -static-libasan
|
||||||
|
- -fsanitize=undefined -static-libubsan
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Fix Checkout
|
||||||
|
run: |
|
||||||
|
git fetch --force --tags
|
||||||
|
|
||||||
|
- name: Make the makefiles
|
||||||
|
run: |
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
|
export CFLAGS="${{ matrix.flags }}"
|
||||||
|
export LDFLAGS="${{ matrix.flags }}"
|
||||||
|
./configure
|
||||||
|
|
||||||
|
- name: Install essential
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
make build-dep
|
||||||
|
|
||||||
|
- name: Run the analysis
|
||||||
|
run: |
|
||||||
|
make test
|
||||||
|
|
||||||
test_linux:
|
test_linux:
|
||||||
needs: smoketest
|
needs: smoketest
|
||||||
name: Test Linux
|
name: Test Linux
|
||||||
|
|
Loading…
Reference in New Issue
Block a user