Commit b337a3bd authored by Martin Jeřábek's avatar Martin Jeřábek

ci: restrict when the pipeline will be run

parent 58dc4240
...@@ -13,16 +13,24 @@ build_ip_and_tests: ...@@ -13,16 +13,24 @@ build_ip_and_tests:
script: script:
- cd test - cd test
- make elaborate - make elaborate
only: &only
- master # Run on all changes to master branch
- tags # Run on all tags
- schedules # Run on schedule
- triggers # Run by trigger (on merge request)
- web # Run by manual request from web UI
.build_driver: .build_driver:
stage: build stage: build
allow_failure: true allow_failure: true
only: *only
script: script:
- cd driver - cd driver
- "make -j`nproc`" - "make -j`nproc`"
test_ip_unit: test_ip_unit:
stage: test stage: test
only: *only
cache: cache:
policy: pull policy: pull
paths: *vunit_cache_paths paths: *vunit_cache_paths
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment