2021-02-04 19:25:29 +00:00
|
|
|
stages:
|
|
|
|
- check
|
2022-04-05 10:17:07 +00:00
|
|
|
- build
|
2023-10-03 12:33:46 +00:00
|
|
|
- test
|
2022-03-30 14:42:23 +00:00
|
|
|
- deploy
|
2021-02-04 19:25:29 +00:00
|
|
|
|
2022-04-05 10:17:07 +00:00
|
|
|
variables:
|
2023-05-05 08:04:06 +00:00
|
|
|
FLATPAK_MODULE: "fractal"
|
2022-09-25 13:36:52 +00:00
|
|
|
|
2023-10-03 09:57:18 +00:00
|
|
|
workflow:
|
2022-09-25 13:36:52 +00:00
|
|
|
rules:
|
2023-10-03 09:57:18 +00:00
|
|
|
- if: $CI_COMMIT_BRANCH == "main"
|
|
|
|
variables:
|
|
|
|
MANIFEST_PATH: "build-aux/org.gnome.Fractal.Devel.json"
|
|
|
|
APP_ID: "org.gnome.Fractal.Devel"
|
|
|
|
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "main"
|
|
|
|
variables:
|
|
|
|
MANIFEST_PATH: "build-aux/org.gnome.Fractal.Hack.json"
|
|
|
|
APP_ID: "org.gnome.Fractal.Hack"
|
|
|
|
|
|
|
|
include:
|
|
|
|
- local: .gitlab-ci/run_checks.yml
|
2023-10-03 12:33:46 +00:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_TAG == null
|
2023-10-03 09:57:18 +00:00
|
|
|
- local: .gitlab-ci/build.yml
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_TAG == null
|
|
|
|
- local: .gitlab-ci/publish_docs.yml
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null
|
|
|
|
- local: .gitlab-ci/publish_nightly.yml
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG == null
|
|
|
|
- local: .gitlab-ci/create_release.yml
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_TAG
|