36 lines
No EOL
933 B
YAML
36 lines
No EOL
933 B
YAML
stages:
|
|
- check
|
|
- build
|
|
- test
|
|
- deploy
|
|
|
|
variables:
|
|
FLATPAK_MODULE: "fractal"
|
|
|
|
workflow:
|
|
rules:
|
|
- 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
|
|
rules:
|
|
- if: $CI_COMMIT_TAG == null
|
|
- 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 |