diff options
author | 2018-09-07 18:44:31 +0200 | |
---|---|---|
committer | 2018-12-21 19:02:56 +0100 | |
commit | 927799ebf6041db8263b212a21e30a540e598252 (patch) | |
tree | 9a04a2ca0dd876a35abb145ef1c08808a2c7e0d0 | |
parent | 371aa4a56ae00a49380080a685e408e1736488f5 (diff) | |
download | paludis-927799ebf6041db8263b212a21e30a540e598252.tar.gz paludis-927799ebf6041db8263b212a21e30a540e598252.tar.xz |
build: Add .gitlab-ci.yml
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..fd6556016 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +image: exherbo/exherbo_ci + +before_script: + - chgrp tty /dev/tty + - cave resolve -1x repository/media repository/python repository/scientific repository/x11 + - echo "dev-lang/python:2.7 sqlite" >> /etc/paludis/options.conf + - cave resolve -x dev-cpp/gtest dev-db/sqlite dev-libs/boost dev-libs/jansson dev-python/Sphinx dev-ruby/syntax --permit-old-version sphinxcontrib-websupport --skip-phase test > /dev/null + +build: + script: + - mkdir build + - cd build + - cmake -DENABLE_GTEST:BOOL=TRUE -DENABLE_PBINS:BOOL=TRUE -DENABLE_PYTHON:BOOL=TRUE -DENABLE_RUBY:BOOL=TRUE -DENABLE_SEARCH_INDEX:BOOL=TRUE -DENABLE_VIM:BOOL=TRUE -DENABLE_XML:BOOL=TRUE -DPALUDIS_CLIENTS=cave -DPALUDIS_ENVIRONMENTS="default;test" -DPALUDIS_REPOSITORIES="default;accounts;gemcutter;repository" -DPALUDIS_DEFAULT_DISTRIBUTION=exherbo -DCONFIG_FRAMEWORK=eclectic .. + - make -j$(nproc) + - make ARGS="--verbose" test + - make install DESTDIR=../install |