diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88a1342c..70c243b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ autoconf: script: - ./autogen.sh - ./configure - - make + - make -j4 - make distcheck cache: paths: @@ -40,3 +40,21 @@ cmake: - cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DOPUS_BUILD_TESTING=ON -DOPUS_BUILD_PROGRAMS=ON - cmake --build build - cd build && ctest --output-on-failure + +meson: + stage: build + before_script: + - apt-get update && + apt-get install -y python3-pip ninja-build doxygen + - export XDG_CACHE_HOME=$PWD/pip-cache + - pip3 install --user meson + script: + - export PATH=$PATH:$HOME/.local/bin + - mkdir builddir + - meson setup --werror -Dtests=enabled -Ddocs=enabled -Dbuildtype=release builddir + - meson compile -C builddir + - meson test -C builddir + #- meson dist --no-tests -C builddir + cache: + paths: + - 'pip-cache/*' |