[ci]: skip the pipeline entirely if branch isn't master
currently, it will clone the repo and then skip the step. this is wasteful, instead skip the pipeline entirely.
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
branches: master
|
||||
|
||||
# NOTE: "stable" tcc is too old and fails at linking. instead fetching a recent known working commit.
|
||||
pipeline:
|
||||
build:
|
||||
image: alpine
|
||||
environment:
|
||||
- TCC_SHA=027b8fb9b88fe137447fb8bb1b61079be9702472
|
||||
when:
|
||||
branch: master
|
||||
commands: |
|
||||
apk add --no-cache \
|
||||
imlib2 imlib2-dev xorgproto \
|
||||
|
Reference in New Issue
Block a user