mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
Build and Check with separate build dir and code coverage:
|
|
script:
|
|
- git submodule update --init && autoreconf -fvi && mkdir -p build && cd build &&
|
|
../configure --enable-code-coverage && make -j4 && make check -j4 && make code-coverage-capture &&
|
|
make local-code-coverage-output && make SKIP_LIBOPTS_CHECK=1 dist
|
|
tags:
|
|
- lcov
|
|
- linux
|
|
except:
|
|
- tags
|
|
Build with minimal setup:
|
|
script:
|
|
- git submodule update --init && autoreconf -fvi &&
|
|
./configure --without-libnl --without-liboath --without-pam --without-radius --without-utmp --without-libwrap --without-http-parser --without-lz4 --without-gssapi --without-pcl-lib --without-protobuf && make -j4 && make check -j4
|
|
tags:
|
|
- linux
|
|
except:
|
|
- tags
|
|
Build and Check with asan:
|
|
script:
|
|
- git submodule update --init && autoreconf -fvi && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan" &&
|
|
./configure && make -j4 && make check -j4
|
|
tags:
|
|
- linux
|
|
except:
|
|
- tags
|
|
Build and Check on FreeBSD:
|
|
script:
|
|
- git submodule update --init && sh autogen.sh && LIBS="-L/usr/local/lib" ./configure --disable-nls &&
|
|
gmake -j4 && gmake check -j4
|
|
tags:
|
|
- freebsd
|
|
except:
|
|
- tags
|