Actually test the zstd support before editing the transform_zstd

This commit is contained in:
Hamish Coleman 2023-06-16 09:56:53 +01:00
parent 0e175d35f6
commit 3e47641630

View File

@ -46,12 +46,24 @@ jobs:
- name: Install libraries needed for all options turned on - name: Install libraries needed for all options turned on
run: | run: |
sudo apt-get install -y libminiupnpc-dev libnatpmp-dev libpcap-dev libcap-dev sudo apt-get install -y \
libminiupnpc-dev \
libnatpmp-dev \
libpcap-dev \
libcap-dev \
libzstd-dev
- name: Run minimal test set - name: Run minimal test set
run: | run: |
./autogen.sh ./autogen.sh
./configure --enable-pthread --enable-miniupnp --enable-natpmp --enable-cap --enable-pcap CFLAGS="-O3 -DN2N_OPTION_USE_PORTMAPPING" ./configure \
--enable-pthread \
--enable-miniupnp \
--enable-natpmp \
--enable-cap \
--enable-pcap \
--with-zstd \
CFLAGS="-O3 -DN2N_OPTION_USE_PORTMAPPING"
make test make test
lint: lint: