Skip to content
Snippets Groups Projects
Commit 2f8bcda7 authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Only run the pipeline for tags, and for pushes to non-master branches


For our official builds, we want to run this for tags.

For developers' test-builds, we want to run this for topic branches
like wip/smcv/avoid-overwrite.

To avoid concurrent builds interfering with each other, let's avoid
running this for pushes to the master branch, which are likely to be
followed by a tag being pushed.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 0bb7053a
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,11 @@ variables: ...@@ -2,6 +2,11 @@ variables:
PROTON_SOURCE: https://github.com/ValveSoftware/Proton PROTON_SOURCE: https://github.com/ValveSoftware/Proton
PROTON_COMMIT: 7c91f57ec93b1ebf07799651b993e01b88ce30b8 PROTON_COMMIT: 7c91f57ec93b1ebf07799651b993e01b88ce30b8
workflow:
rules:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "master"
stages: stages:
- checkout - checkout
- build-base - build-base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment