Fixup CI config
* Don't run the Ubuntu job on schedules * Fix Coverity job by being explicit it is for schedules only * Separate the caches for the Ubuntu and Fedora jobs
This commit is contained in:
parent
8d0191151d
commit
e1a5d4e0ba
|
@ -6,7 +6,7 @@ build_linux:
|
|||
extends: .only_code
|
||||
interruptible: false
|
||||
cache:
|
||||
key: "cache-linux"
|
||||
key: "cache-fedora-linux"
|
||||
paths:
|
||||
- ccache/
|
||||
before_script:
|
||||
|
|
|
@ -5,14 +5,15 @@ build_ubuntu20.04:
|
|||
stage: build
|
||||
tags:
|
||||
- kicad-ubuntu20.04
|
||||
extends: .only_code
|
||||
image: registry.gitlab.com/kicad/kicad-ci/source_containers/master/ubuntu:20.04
|
||||
only:
|
||||
- branches@kicad/code/kicad
|
||||
- tags@kicad/code/kicad
|
||||
except:
|
||||
- schedules
|
||||
interruptible: false
|
||||
cache:
|
||||
key: "cache-linux"
|
||||
key: "cache-ubuntu-linux"
|
||||
paths:
|
||||
- ccache/
|
||||
before_script:
|
||||
|
@ -62,6 +63,8 @@ report_build_warn_ubuntu20.04:
|
|||
only:
|
||||
- branches@kicad/code/kicad
|
||||
- tags@kicad/code/kicad
|
||||
except:
|
||||
- schedules
|
||||
needs:
|
||||
- job: build_ubuntu20.04
|
||||
artifacts: true
|
||||
|
@ -82,6 +85,8 @@ report_metrics_ubuntu20.04:
|
|||
only:
|
||||
- branches@kicad/code/kicad
|
||||
- tags@kicad/code/kicad
|
||||
except:
|
||||
- schedules
|
||||
needs:
|
||||
- job: build_ubuntu20.04
|
||||
artifacts: true
|
||||
|
|
|
@ -41,6 +41,8 @@ Coverity:
|
|||
stage: build
|
||||
image: registry.gitlab.com/kicad/kicad-ci/source_containers/master/fedora:31
|
||||
only:
|
||||
refs:
|
||||
- schedules
|
||||
variables:
|
||||
- $SCHEDULED_JOB_NAME == "coverity"
|
||||
cache:
|
||||
|
|
Loading…
Reference in New Issue