libmks/.gitlab-ci.yml
Christian Hergert 379f2e862a build: Depend on gtk main for GdkGLTextureBuilder
- Add a meson subproject for building main gtk
- Adapt the docs CI job to install the necessary build deps
- Disable werror in the CI for now, until we port aways from deprecated
APIs
- Switch from using add_global_argument as it would affect subprojects

# Conflicts:
#	.gitignore
2023-05-17 13:08:31 -07:00

47 lines
1.1 KiB
YAML

include:
- project: "gnome/citemplates"
file: "flatpak/flatpak_ci_initiative.yml"
stages:
- test
- docs
- deploy
flatpak:
variables:
BUNDLE: "mks-test-widget-dev.flatpak"
MANIFEST_PATH: "org.gnome.libmks.mks.json"
FLATPAK_MODULE: "mks"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
APP_ID: "org.gnome.libmks.mks"
extends: ".flatpak"
reference:
image: fedora:38
stage: docs
needs: []
variables:
MESON_FLAGS: "--buildtype=release -Dgtk:gtk_doc=false -Dgtk:introspection=disabled -Dgtk:build-examples=false -Dgtk:build-tests=false -Dgtk:demos=false -Dgtk:media-gstreamer=disabled -Dlibepoxy:tests=false"
before_script:
- sudo dnf install -y git gtk4-devel meson gcc gcc-c++ gi-docgen gobject-introspection-devel vala
script:
- mkdir -p pfx/
- meson ${MESON_FLAGS} --prefix=${PWD}/pfx -Ddocs=true _build
- ninja -C _build install
- mkdir -p _reference/
- mv pfx/share/doc/libmks1/ _reference/
artifacts:
paths:
- _reference
pages:
stage: deploy
needs: ["reference"]
script:
- mv _reference public/
artifacts:
paths:
- public
only:
- main