ci: fix build stage not run in MRs

See https://docs.gitlab.com/ee/ci/yaml/#rules

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-04-04 21:57:50 +02:00
parent 74b0cbc41d
commit 73b763d6b4

View file

@ -33,6 +33,8 @@ prepare-container:
stage: "Prepare container"
variables:
FDO_DISTRIBUTION_PACKAGES: 'build-base meson'
rules:
- when: on_success
build:
extends: .fdo.distribution-image@alpine
@ -44,3 +46,5 @@ build:
artifacts:
paths:
- build/meson-logs/
rules:
- when: on_success