32 lines
No EOL
807 B
YAML
32 lines
No EOL
807 B
YAML
stages:
|
|
- check
|
|
- build
|
|
- test
|
|
- deploy
|
|
|
|
variables:
|
|
FLATPAK_MODULE: "fractal"
|
|
|
|
workflow:
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_TAG
|
|
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
|
|
- local: .gitlab-ci/build.yml
|
|
- local: .gitlab-ci/publish_docs.yml
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == "main"
|
|
- local: .gitlab-ci/publish_nightly.yml
|
|
rules:
|
|
- if: $CI_COMMIT_BRANCH == "main"
|
|
- local: .gitlab-ci/create_release.yml
|
|
rules:
|
|
- if: $CI_COMMIT_TAG |