ci: Add a fedora build job

We currently use a setup modelled after the flatpak CI workflow,
where we produce extension bundles and expose them as artifacts
for easy testing.

It still makes sense to test a regular build though, in particular
as that can include classic mode support.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/186>
This commit is contained in:
Florian Müllner
2021-08-31 11:02:24 +02:00
parent 2f2619403a
commit 34f6c9514a
+13
View File
@@ -130,3 +130,16 @@ build-bundles:
expose_as: 'Get Extension bundles here'
paths:
- zip-files/
fedora-build:
extends:
- .fdo.distribution-image@fedora
- .gnome-shell-extensions.fedora:34
stage: build
needs:
- build-fedora-container
script:
- meson setup build --werror -Dextension_set=all -Dclassic=true
- meson compile -C build
- meson test -C build
- meson install -C build