Commit fac6a33a authored by Alberto Fanjul's avatar Alberto Fanjul
Browse files

ci: Define steps

parent 29dda2db
Pipeline #88460 passed with stages
in 6 minutes and 5 seconds
stages:
- setup
- check
- build
- review
- package
fedora rawhide:
stage: check
distro_image:
stage: setup
image: fedora:rawhide
script:
- dnf update -y --nogpgcheck
- dnf install -y git
variables:
BUNDLE: "diferencia-git.flatpak"
......@@ -17,7 +17,11 @@ variables:
codestyle:
stage: check
dependencies:
- distro_image
script:
- dnf install -y git
- dnf install -y uncrustify
- ./build-aux/uncrustify-check
......@@ -55,8 +59,8 @@ flatpak:
paths:
- .flatpak-builder/cache
review:
stage: review
package:
stage: package
dependencies:
- flatpak
......@@ -69,10 +73,10 @@ review:
environment:
name: review/$CI_COMMIT_REF_NAME
url: https://gitlab.gnome.org/$CI_PROJECT_PATH/-/jobs/$CI_JOB_ID/artifacts/raw/${BUNDLE}
on_stop: stop_review
on_stop: stop_package
stop_review:
stage: review
stop_package:
stage: package
script:
- echo "Stopping flatpak deployment"
when: manual
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment