build: stage: build image: debian:bookworm-slim before_script: - apt-get update && apt-get -y install libconfig-dev meson script: - meson build --buildtype release --werror - ninja -C build - cd build && meson test --no-rebuild artifacts: paths: - build docs: stage: build image: alpine:edge before_script: - apk add --no-cache python3 py3-sphinx make script: - cd docs - make html lint: stage: test dependencies: - build image: debian:bookworm-slim before_script: - apt-get update && apt-get -y install libconfig-dev bash script: - bash ./configtest.sh tests: stage: test image: alpine:edge before_script: - apk add --no-cache build-base meson samurai scdoc libconfig-dev linux-headers script: - meson setup unittests --buildtype release --werror - ninja -C unittests - cd unittests && meson test --no-rebuild pages: stage: deploy image: alpine:edge before_script: - apk add --no-cache python3 py3-sphinx make script: - cd docs - make html - mv _build/html ../public artifacts: paths: - public environment: production