diff --git a/.gitlab-ci/run_checks.yml b/.gitlab-ci/run_checks.yml index 05cfde70..bfa6c408 100644 --- a/.gitlab-ci/run_checks.yml +++ b/.gitlab-ci/run_checks.yml @@ -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} diff --git a/.gitlab-ci/test.yml b/.gitlab-ci/test.yml index f8871d75..6217306e 100644 --- a/.gitlab-ci/test.yml +++ b/.gitlab-ci/test.yml @@ -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.