File tree Expand file tree Collapse file tree 1 file changed +24
-12
lines changed Expand file tree Collapse file tree 1 file changed +24
-12
lines changed Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
types : [opened]
6
6
jobs :
7
- py3 -job :
7
+ check_compile -job :
8
8
runs-on : ubuntu-latest
9
- container : cmscloud/al9-cms:latest
9
+ container :
10
+ image : cmscloud/al9-cms:latest
11
+ options : --user root
10
12
steps :
11
- - name : Checking_python_3.9
13
+ - name : Checking_out_code
12
14
uses : actions/checkout@v4
13
15
with :
14
16
fetch-depth : 0
15
- - run : |
17
+ - name : Checking_python_3.9
18
+ run : |
16
19
python3 -V
17
20
ls
18
21
pwd
19
22
python3 -m py_compile src/cmsstyle/cmsstyle.py
20
- python3 -m py_compil src/cmsstyle/cmsstyle.py
21
- - run : |
23
+ ls -lh src/cmsstyle/__pycache__/
24
+ - name : Checking_Cpp_compilation
25
+ run : |
22
26
cd src
23
27
echo '{gROOT->LoadMacro("cmsstyle.C++");}' > hola.C
28
+
29
+ dnf install -y root
30
+ echo 'ROOT VERSION='`root-config --version`
24
31
root -q hola.C
25
- ls cmsstyle_C.sod
32
+ ls -lh cmsstyle_C.so
26
33
#
27
34
py2-job :
28
35
runs-on : ubuntu-latest
29
- container : cmscloud/cc7-cms:latest
36
+ container :
37
+ image : cmscloud/cc7-cms:latest
38
+ options : --user root
30
39
steps :
31
40
- name : Checking_python_2.7
32
- uses : actions/checkout@v4
33
- with :
34
- fetch-depth : 0
35
- - run : |
41
+ # uses: actions/checkout@v4
42
+ # with:
43
+ # fetch-depth: 0
44
+ run : |
36
45
python -V
37
46
ls
47
+ git clone --depth 1 https://github.com/oglez/cmsstyle.git
48
+ cd cmsstyle
38
49
pwd
39
50
python -m py_compile src/cmsstyle/cmsstyle.py
51
+ ls -lh src/cmsstyle/cmsstyle.pyc
40
52
#
You can’t perform that action at this time.
0 commit comments