forked from TriBITSPub/TriBITS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project-checkin-test-config.py
executable file
·41 lines (32 loc) · 1.27 KB
/
project-checkin-test-config.py
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
configuration = {
# The default command line arguments
'defaults': {
'--send-email-to-on-push': '[email protected]',
'--enable-all-packages': 'on',
'--no-rebase': ''
},
# NOTE: The last two options --no-rebase --no-append-test-results ensure
# that the checkin-test.py script does *not* modify the SHA1s of the local
# commits when pushing to the master repo. This is important when git
# commit SHA1s are snaphsotted into other TriBITS projects, for example,
# in their <projectDir>/cmake/tribits/ directory.
'cmake': {
'common': [
],
'default-builds': [
# Options for the MPI_DEBUG build.
('MPI_DEBUG', [
'-DTPL_ENABLE_MPI:BOOL=ON',
'-DCMAKE_BUILD_TYPE:STRING=DEBUG',
'-DTriBITS_ENABLE_DEBUG:BOOL=ON',
'-DTriBITS_ENABLE_Fortran:BOOL=ON',
]),
# Options for the SERIAL_RELEASE build.
('SERIAL_RELEASE', [
'-DTPL_ENABLE_MPI:BOOL=OFF',
'-DCMAKE_BUILD_TYPE:STRING=RELEASE',
'-DTriBITS_ENABLE_DEBUG:BOOL=OFF',
]),
], # default-builds
}, # cmake
} # configuration