ci: Do not run usual targets from a scheduled job
This is in preparation to building docker images automatically.
This commit is contained in:
parent
0c7d2d8ecd
commit
9c8360ad67
1 changed files with 15 additions and 0 deletions
|
@ -31,6 +31,9 @@ image: "$FEDORA_IMAGE"
|
|||
|
||||
build:
|
||||
stage: build
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
variables:
|
||||
driver: virtual_image
|
||||
<<: *build_one_driver
|
||||
|
@ -39,6 +42,9 @@ build:
|
|||
|
||||
test:
|
||||
stage: test
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
script:
|
||||
- meson --werror -Ddrivers=all . _build
|
||||
- ninja -C _build
|
||||
|
@ -46,6 +52,9 @@ test:
|
|||
|
||||
test_valgrind:
|
||||
stage: test
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
script:
|
||||
- meson -Ddrivers=all . _build
|
||||
- ninja -C _build
|
||||
|
@ -53,6 +62,9 @@ test_valgrind:
|
|||
|
||||
test_indent:
|
||||
stage: check-source
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
script:
|
||||
- scripts/uncrustify.sh --check
|
||||
|
||||
|
@ -82,6 +94,9 @@ test_indent:
|
|||
.flatpak_master_template: &flatpak_master
|
||||
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.32
|
||||
stage: flatpack
|
||||
except:
|
||||
variables:
|
||||
- $CI_PIPELINE_SOURCE == "schedule"
|
||||
variables:
|
||||
MANIFEST_PATH: "demo/org.freedesktop.libfprint.Demo.json"
|
||||
# From demo/org.freedesktop.libfprint.Demo.json
|
||||
|
|
Loading…
Reference in a new issue