mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
36 lines
670 B
YAML
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
|