ci: Use a custom image

Use a custom image for CI to reduce build times.
This commit is contained in:
James Westman 2022-01-16 22:02:00 -06:00
parent 69d00357da
commit a74779326b
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
2 changed files with 5 additions and 2 deletions

View file

@ -3,10 +3,9 @@ stages:
- pages - pages
build: build:
image: registry.gitlab.gnome.org/jwestman/blueprint-compiler
stage: build stage: build
script: script:
- dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel
- pip3 install furo mypy sphinx coverage
- mypy blueprintcompiler - mypy blueprintcompiler
- coverage run -m unittest - coverage run -m unittest
- coverage html - coverage html

4
build-aux/Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM fedora:latest
RUN dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel libadwaita-devel
RUN pip3 install furo mypy sphinx coverage