.gitlab-ci.yml: added build rule on freebsd

This commit is contained in:
Nikos Mavrogiannopoulos
2016-04-19 15:53:49 +02:00
parent b706ab7871
commit 00b631e01e

View File

@@ -2,17 +2,31 @@ Build and Check with separate build dir:
script: script:
- git submodule update --init && autoreconf -fvi && mkdir -p build && cd build && - git submodule update --init && autoreconf -fvi && mkdir -p build && cd build &&
../configure && make -j4 && make check -j4 && make SKIP_LIBOPTS_CHECK=1 dist ../configure && make -j4 && make check -j4 && make SKIP_LIBOPTS_CHECK=1 dist
tags:
- linux
except: except:
- tags - tags
Build with minimal setup: Build with minimal setup:
script: script:
- git submodule update --init && autoreconf -fvi && - 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 ./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: except:
- tags - tags
Build and Check with asan: Build and Check with asan:
script: script:
- git submodule update --init && autoreconf -fvi && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan" && - git submodule update --init && autoreconf -fvi && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan" &&
./configure && make -j4 && make check -j4 ./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: except:
- tags - tags