From a74779326be9f323d192c44f47572fc0afc50097 Mon Sep 17 00:00:00 2001 From: James Westman Date: Sun, 16 Jan 2022 22:02:00 -0600 Subject: [PATCH] ci: Use a custom image Use a custom image for CI to reduce build times. --- .gitlab-ci.yml | 3 +-- build-aux/Dockerfile | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 build-aux/Dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b73099d..7d8edb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,10 +3,9 @@ stages: - pages build: + image: registry.gitlab.gnome.org/jwestman/blueprint-compiler 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 diff --git a/build-aux/Dockerfile b/build-aux/Dockerfile new file mode 100644 index 0000000..974005d --- /dev/null +++ b/build-aux/Dockerfile @@ -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