.gitlab-ci.yml 658 B

1234567891011121314151617181920212223242526272829303132
  1. build:
  2. stage: test
  3. image: alpine:edge
  4. before_script:
  5. - apk add --no-cache build-base meson samurai linux-headers libconfig-dev scdoc
  6. script:
  7. - meson build --buildtype release --werror
  8. - ninja -C build
  9. - cd build && meson test --no-rebuild
  10. docs:
  11. stage: test
  12. image: alpine:edge
  13. before_script:
  14. - apk add --no-cache python3 py3-sphinx make
  15. script:
  16. - cd docs
  17. - make html
  18. pages:
  19. stage: deploy
  20. image: alpine:edge
  21. before_script:
  22. - apk add --no-cache python3 py3-sphinx make
  23. script:
  24. - cd docs
  25. - make html
  26. - mv _build/html ../public
  27. artifacts:
  28. paths:
  29. - public
  30. environment: production