mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
.gitlab-ci.yml: added build rule on freebsd
This commit is contained in:
@@ -2,17 +2,31 @@ Build and Check with separate build dir:
|
||||
script:
|
||||
- git submodule update --init && autoreconf -fvi && mkdir -p build && cd build &&
|
||||
../configure && make -j4 && make check -j4 && make SKIP_LIBOPTS_CHECK=1 dist
|
||||
tags:
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user