mirror of
https://gitlab.gnome.org/World/fractal.git
synced 2025-06-01 00:00:37 -04:00
ci: Allow to interrupt most jobs
This commit is contained in:
parent
65531c7870
commit
ec56f9471c
@ -6,6 +6,7 @@ include: '.gitlab-ci/utils.yml'
|
||||
checks:
|
||||
stage: check
|
||||
image: "rustlang/rust:nightly-slim"
|
||||
interruptible: true
|
||||
script:
|
||||
- hooks/checks.sh --verbose --force-install
|
||||
|
||||
@ -17,6 +18,7 @@ cargo-clippy:
|
||||
image: 'quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master'
|
||||
tags:
|
||||
- flatpak
|
||||
interruptible: true
|
||||
script:
|
||||
- flatpak-builder --keep-build-dirs --user --disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} flatpak_app --repo=repo ${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH}
|
||||
- echo "cargo clippy -- -D warnings" | flatpak-builder --disable-rofiles-fuse --build-shell=${FLATPAK_MODULE} flatpak_app ${MANIFEST_PATH}
|
||||
|
@ -10,6 +10,7 @@ lint-metainfo:
|
||||
entrypoint: [""]
|
||||
variables:
|
||||
METAINFO: "${APP_ID}.metainfo.xml"
|
||||
interruptible: true
|
||||
script:
|
||||
# This tool has extra tests on top of appstreamcli and is required to pass for Flathub.
|
||||
- flatpak-builder-lint appstream ${METAINFO}
|
||||
@ -25,6 +26,7 @@ rust-tests:
|
||||
image: 'quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master'
|
||||
tags:
|
||||
- flatpak
|
||||
interruptible: true
|
||||
script:
|
||||
# Create a temporary file.
|
||||
- TMP_FILE=$(mktemp)
|
||||
@ -49,6 +51,7 @@ build-docs:
|
||||
image: 'quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master'
|
||||
tags:
|
||||
- flatpak
|
||||
interruptible: true
|
||||
script:
|
||||
- flatpak install --user --noninteractive org.freedesktop.Sdk.Extension.rust-nightly//24.08
|
||||
# We want to use the nightly toolchain inside the build terminal.
|
||||
|
Loading…
x
Reference in New Issue
Block a user