-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.gitlab-ci.yml
35 lines (35 loc) · 1.57 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cmssw_compile:
stage: build
tags:
- cvmfs
variables:
CMS_PATH: /cvmfs/cms.cern.ch
CMSSW_RELEASE: CMSSW_12_0_0_pre1
script:
- shopt -s expand_aliases
- set +u && source ${CMS_PATH}/cmsset_default.sh; set -u
- cd ${CI_PROJECT_DIR}
- cmsrel ${CMSSW_RELEASE}
- cd ${CMSSW_RELEASE}/src
- cmsenv
# If within CERN, we can speed up interaction with CMSSW:
- export CMSSW_MIRROR=https://:@git.cern.ch/kerberos/CMSSW.git
# This is another trick to speed things up independent of your location:
- export CMSSW_GIT_REFERENCE=/cvmfs/cms.cern.ch/cmssw.git.daily
# Important: run git cms-init with --upstream-only flag to not run into
# problems with git config
- git cms-init --upstream-only
- git cms-rebase-topic dildick:from-CMSSW_12_0_0_pre1-GEM-CSC-taskforce-20210518
- ls -h ${CI_PROJECT_DIR}
- mkdir "${CMSSW_BASE}/src/GEMCode/"
- cp -r "${CI_PROJECT_DIR}/GEMValidation" "${CMSSW_BASE}/src/GEMCode/"
- ls -h ${CMSSW_BASE}/src/GEMCode/
- ls -h ${CMSSW_BASE}/src/GEMCode/GEMValidation
- git cms-addpkg L1Trigger/CSCTriggerPrimitives
- git clone https://github.com/cms-data/L1Trigger-CSCTriggerPrimitives
- mkdir L1Trigger/CSCTriggerPrimitives/data
- cp -r L1Trigger-CSCTriggerPrimitives/CCLUT/ L1Trigger/CSCTriggerPrimitives/data
- cp -r L1Trigger-CSCTriggerPrimitives/GEMCSC L1Trigger/CSCTriggerPrimitives/data
- cp -r L1Trigger-CSCTriggerPrimitives/LCTCode L1Trigger/CSCTriggerPrimitives/data
- cp -r L1Trigger-CSCTriggerPrimitives/ME11 L1Trigger/CSCTriggerPrimitives/data
- scram b -j 4