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

ci: restrict when the pipeline will be run

parent 58dc4240
......@@ -13,16 +13,24 @@ build_ip_and_tests:
script:
- cd test
- 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:
stage: build
allow_failure: true
only: *only
script:
- cd driver
- "make -j`nproc`"
test_ip_unit:
stage: test
only: *only
cache:
policy: pull
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