-
Notifications
You must be signed in to change notification settings - Fork 383
40 lines (36 loc) · 1.13 KB
/
cvmfs-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
36
37
38
name: CI with CVMFS
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
test_workflow:
runs-on: ubuntu-latest
name: Test with CMSSW
steps:
# checkout the files of this repository
- uses: actions/checkout@v4
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
cvmfs_repositories: 'cms.cern.ch'
- uses: rhaschke/docker-run-action@v5
with:
image: cmscloud/cc7-cms
options: -v /cvmfs:/cvmfs:shared -w /home/cmsusr -e CMSSW_VERSION=CMSSW_11_3_4 -e SCRAM_ARCH=slc7_amd64_gcc900
run: |
ls /home/runner/work
pwd
ls
ls /cvmfs/cms.cern.ch | grep common
source /cvmfs/cms.cern.ch/cmsset_default.sh
scram project ${CMSSW_VERSION}
source /cvmfs/cms.cern.ch/cmsset_default.sh
cd ${CMSSW_VERSION}/src
mkdir -p HiggsAnalysis
cd HiggsAnalysis
ln -s /home/runner/work/HiggsAnalysis-CombinedLimit/HiggsAnalysis-CombinedLimit CombinedLimit
cd ..
scramv1 b -j$(nproc)
combine --help