Browse Source

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
6.0.7
Ian McInerney 5 years ago
parent
commit
e1a5d4e0ba
  1. 2
      .gitlab/Fedora-Linux-CI.yml
  2. 9
      .gitlab/Ubuntu-20.04-CI.yml
  3. 2
      .gitlab/coverity.yml

2
.gitlab/Fedora-Linux-CI.yml

@ -6,7 +6,7 @@ build_linux:
extends: .only_code
interruptible: false
cache:
key: "cache-linux"
key: "cache-fedora-linux"
paths:
- ccache/
before_script:

9
.gitlab/Ubuntu-20.04-CI.yml

@ -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

2
.gitlab/coverity.yml

@ -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…
Cancel
Save