forked from gadgetron/gadgetron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
74 lines (58 loc) · 1.76 KB
/
.cirrus.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
build_task:
container:
matrix:
image: gradientsoftware/ubuntu_1804_integration
cpu: 8
memory: 24
mtime_script:
- apt-get update
- apt-get install ruby-full -y
- gem install mtime_cache
ismrmrd_cache:
folder: /opt/code/ismrmrd
populate_script:
- cd /opt/code
- git clone https://github.com/ismrmrd/ismrmrd.git
- cd ismrmrd
- mkdir build
- cd build
- cmake ..
- make -j8
fingerprint_script:
- git ls-remote https://github.com/ismrmrd/ismrmrd.git | grep HEAD | awk '{ print $1}'
install_ismrmrmd_script:
- cd /opt/code/ismrmrd/build
- mtime_cache ../**/*.{%{cpp}} -c .mtime_cache/cache.json
- make install
siemens_to_ismrmrd_cache:
folder: /opt/code/siemens_to_ismrmrd
populate_script:
- cd /opt/code
- git clone https://github.com/ismrmrd/siemens_to_ismrmrd.git
- cd siemens_to_ismrmrd
- mkdir build
- cd build
- cmake ..
- make -j8
fingerprint_script:
- git ls-remote https://github.com/ismrmrd/siemens_to_ismrmrd.git | grep HEAD | awk '{ print $1}'
ismrmrd_python_script:
- pip3 install git+https://github.com/ismrmrd/ismrmrd-python.git
- pip3 install git+https://github.com/ismrmrd/ismrmrd-python-tools.git
install_siemens_to_ismrmrd_script:
- cd /opt/code/siemens_to_ismrmrd/build
- mtime_cache ../**/*.{%{cpp}} -c .mtime_cache/cache.json
- make install
make_build_cache:
folder: build
fingerprint_script:
- echo "ninja $(git branch | grep \* | cut -d ' ' -f2)"
populate_script:
- mkdir build
make_script:
- cd build
- cmake .. -G Ninja
- mtime_cache ../**/*.{%{cpp}} -c .mtime_cache/cache.json
- ninja
- ninja install
- cd /usr/local/share/gadgetron/config