Update gitlab-ci to run pipeline less frequently

We've hit qutie fast 3/4 of the limit, so this pull request limits pipelines to
be run only when we commit to the branch develop and on merge requests.
This commit is contained in:
Daniel Kochmański 2025-07-26 08:31:28 +02:00
parent 84e9b0b450
commit 31a82c296c

View file

@ -11,6 +11,9 @@ build:
- ./configure --prefix=${CI_PROJECT_DIR}/target-dir/ - ./configure --prefix=${CI_PROJECT_DIR}/target-dir/
- make - make
- make install - make install
rules:
- if: $CI_COMMIT_BRANCH == "develop"
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# run self-tests using the binary built before # run self-tests using the binary built before
test-self: test-self: