From f3a2344353280d27f83a219a5d1a2521f545bde9 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Fri, 5 May 2023 19:21:37 -0500 Subject: [PATCH] Add a CI test build with lots of options turned on --- .github/workflows/tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e752555..505b3e6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,6 +25,28 @@ jobs: ./configure 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: name: Code syntax runs-on: ubuntu-latest