123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- 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
- 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
|