cms-L1TK / cmssw

Fork of CMSSW where improvements to L1 tracking code are developed.
http://cms-sw.github.io/
Apache License 2.0
4 stars 5 forks source link

Ian ci #105

Closed tomalin closed 3 years ago

tomalin commented 3 years ago

This adds git Continuous Integration tests to cms-L1TK/cmssw.

The file .github/workflows/github_CI.yml launches CI on github whenever a PR is made to the default branch (currently L1TK-dev-12_0_0_pre4). This then launches a CI run on gitlab controlled by https://gitlab.cern.ch/cms-l1tk/cmssw_CI/-/blob/masterCI/.gitlab-ci.yml , which checks out the branch under test from github, rebases it on top of the default branch, compiles it with CMSSW and performs standard code style checks on it.

Both github_CI.yml & .gitlab-ci.yml will need editing (a few lines) if the CMSSW version changes. Since .github_CI.yml can't be added to the official release, it must be deleted from this repo whenever we make a PR to the official release, and readded when we branch off from it. (It could be backed up in https://gitlab.cern.ch/cms-l1tk/cmssw_CI . Not yet done).

Communication between gitlab & github CIs is done with https://github.com/cms-L1TK/gitlab-mirror-and-ci-action . This is based heavily on https://github.com/aperloff/gitlab-mirror-and-ci-action , which did this action already for the L1 track HLS repo. The new version should via option "IS_CMSSW" be able to work not only for CMSSW, but also for HLS (not yet checked), so if @aperloff agrees can replace the old one.