mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Add a CI test build with lots of options turned on
This commit is contained in:
parent
40c99fcdee
commit
f3a2344353
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
|
@ -25,6 +25,28 @@ jobs:
|
||||||
./configure
|
./configure
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
smoketest_all_opts:
|
||||||
|
name: Smoke test With all options turned on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Fix Checkout
|
||||||
|
run: |
|
||||||
|
git fetch --force --tags
|
||||||
|
|
||||||
|
- name: Install libraries needed for all options turned on
|
||||||
|
run: |
|
||||||
|
sudo apt-get install -y libminiupnpc-dev libnatpmp-dev libpcap-dev
|
||||||
|
|
||||||
|
- name: Run minimal test set
|
||||||
|
run: |
|
||||||
|
./autogen.sh
|
||||||
|
./configure --enable-pthread --enable-miniupnp --enable-natpmp --enable-cap --enable-pcap CFLAGS="-O3 -DN2N_OPTION_USE_PORTMAPPING"
|
||||||
|
make test
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Code syntax
|
name: Code syntax
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue
Block a user