forked from stanfordhpccenter/HTR-solver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
87 lines (75 loc) · 3 KB
/
bitbucket-pipelines.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# This is a sample build configuration for C++ – Make.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: mariodr/legion-docker:ubuntu16.04-dcr
pipelines:
default:
# - step:
# name: Compile prometeo
# script: # Modify the commands below to build your repository.
# - cd src
## - make
#
# - parallel:
- step:
name: Test Config
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/configTest/test.py -v
- step:
name: Test math_utils
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/mathUtilsTest/test.py -v
- step:
name: Test hdf_helper
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/hdfTest/test.py -v
- step:
name: Test mixtures
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/mixTest/test.py -v
- step:
name: Test geometry
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/geometryTest/test.py -v
- step:
name: Test metric
script:
- cd unitTests/metricTest
- make -j
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- ./operatorsTest_Periodic.exec
- ./operatorsTest_Staggered.exec
- ./operatorsTest_Collocated.exec
- ./metricTest_Periodic.exec
- step:
name: Test cfl
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/cflTest/test.py -v
- step:
name: Test chemistry
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/chemTest/test.py -v
- step:
name: Test variables
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/variablesTest/test.py -v
- step:
name: Test probe
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/probeTest/test.py -v
- step:
name: Test average
script:
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LEGION_DIR/bindings/regent"
- python3 unitTests/averageTest/test.py -v