forked from cms-cat/cmsstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (47 loc) · 1.07 KB
/
softwarecheck.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
39
40
41
42
43
44
45
46
47
name: Software_check
on:
push:
pull_request:
types: [opened]
jobs:
py3-job:
runs-on: ubuntu-latest
container: cmscloud/al9-cms:latest
steps:
# - name: Checking_python_3.9
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - run: git clone --depth 1 https://github.com/oglez/cmsstyle.git
- run: |
python3 -V
ls
mkdir cmsstyle
cd cmsstyle
pwd
# python3 -m py_compile src/cmsstyle/cmsstyle.py
# - run: |
# cd src
# echo '{gROOT->LoadMacro("cmsstyle.C++");}' > hola.C
# root -q hola.C
# ls cmsstyle_C.sod
#
py2-job:
runs-on: ubuntu-latest
container:
image: cmscloud/cc7-cms:latest
options: --user root
steps:
# - name: Checking_python_2.7
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
- run: |
python -V
ls *
pwd
mkdir cmsstyle
cd cmsstyle
pwd
# python -m py_compile src/cmsstyle/cmsstyle.py
#