File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 13
13
- cron : ' 0 8 * * *'
14
14
15
15
jobs :
16
+ run_precommit :
17
+ name : Run pre-commit
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Check out
21
+ uses : actions/checkout@v3
22
+ - name : Setup Python
23
+ uses : actions/setup-python@v4
24
+ with :
25
+ python-version : ' 3.10'
26
+ cache : ' pip'
27
+ - name : Run pre-commit
28
+ uses :
pre-commit/[email protected]
16
29
run_examples :
17
- name : Run examples
30
+ name : Build and run examples
18
31
runs-on : ubuntu-latest
19
32
container :
20
33
image : intel/oneapi:latest
28
41
uses : actions/checkout@v3
29
42
- name : Setup cmake
30
43
31
- - name : Setup Python
32
- uses : actions/setup-python@v4
33
- with :
34
- python-version : ' 3.10'
35
44
- name : Build examples
36
45
run : |
37
46
cmake -B build -DENABLE_SYCL=on
41
50
mpirun -n 2 ./build/src/example1
42
51
mpirun -n 2 ./build/src/example2
43
52
mpirun -n 2 ./build/src/example3
44
- - name : Run pre-commit
45
- uses :
pre-commit/[email protected]
You can’t perform that action at this time.
0 commit comments