blueprint-compiler/.gitlab-ci.yml
James Westman 544d152fb6
Rename to blueprint-compiler
This isn't an official GTK project so better to avoid using "GTK" in the
name.
2021-12-01 15:35:58 -06:00

36 lines
670 B
YAML

stages:
- build
- pages
build:
stage: build
script:
- dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel
- pip3 install furo mypy sphinx coverage
- mypy blueprintcompiler
- coverage run -m unittest
- coverage html
- coverage xml
- meson _build -Ddocs=true
- ninja -C _build
- ninja -C _build test
- ninja -C _build install
artifacts:
paths:
- _build
- htmlcov
reports:
cobertura: coverage.xml
pages:
stage: pages
dependencies:
- build
script:
- mv _build/docs/en public
- mv htmlcov public/coverage
artifacts:
paths:
- public
only:
- main