-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.gitlab-ci.yml
59 lines (55 loc) · 2.32 KB
/
.gitlab-ci.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
variables:
CI_SCRIPTS_DIR: "./ci"
gift-gala:
script:
- MATLAB_SCRIPT=$(pwd)/matlab/CIBuildAndTest.m
- echo "***** CUDA 7 *****"
- MATLAB_EXE=/Applications/MATLAB_R2016b.app/bin/matlab
- XCODE_EXE=/Applications/Xcode7.3.1.app/Contents/Developer
- PATH_WITH_CUDA=/Developer/NVIDIA/CUDA-7.5/bin${PATH:+:${PATH}}
- env DEVELOPER_DIR=$XCODE_EXE PATH=$PATH_WITH_CUDA $CI_SCRIPTS_DIR/test-mac.sh $MATLAB_EXE $MATLAB_SCRIPT
- echo "***** CUDA 8 *****"
- MATLAB_EXE=/Applications/MATLAB_R2017a.app/bin/matlab
- XCODE_EXE=/Applications/Xcode7.3.1.app/Contents/Developer
- PATH_WITH_CUDA=/Developer/NVIDIA/CUDA-8.0/bin${PATH:+:${PATH}}
- env DEVELOPER_DIR=$XCODE_EXE PATH=$PATH_WITH_CUDA $CI_SCRIPTS_DIR/test-mac.sh $MATLAB_EXE $MATLAB_SCRIPT
tags:
- gift-gala
- gift-mac
- matlab
- cuda
gift-adelie:
script:
- PATH_NO_CUDA=`echo $PATH | sed -e 's|:/usr/local/cuda/bin||'`
- MATLAB_SCRIPT=$(pwd)/matlab/CIBuildAndTest.m
- echo "***** CUDA 7 *****"
- MATLAB_EXE=/usr/local/R2015b/bin/matlab
- PATH_WITH_CUDA=/usr/local/cuda-7.5/bin${PATH_NO_CUDA:+:${PATH_NO_CUDA}}
- LD_PRELOAD_DIR=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
- env LD_PRELOAD=$LD_PRELOAD_DIR CORE_CXX=/usr/bin/g++-4.7 PATH=$PATH_WITH_CUDA $CI_SCRIPTS_DIR/test-linux.sh $MATLAB_EXE $MATLAB_SCRIPT
- echo "***** CUDA 8 *****"
- MATLAB_EXE=/usr/local/R2017a/bin/matlab
- PATH_WITH_CUDA=/usr/local/cuda-8.0/bin${PATH_NO_CUDA:+:${PATH_NO_CUDA}}
- LD_PRELOAD_DIR=/usr/lib/x86_64-linux-gnu/libstdc++.so.6
- env LD_PRELOAD=$LD_PRELOAD_DIR CORE_CXX=/usr/bin/g++-4.9 PATH=$PATH_WITH_CUDA $CI_SCRIPTS_DIR/test-linux.sh $MATLAB_EXE $MATLAB_SCRIPT
tags:
- gift-adelie
- gift-linux
- matlab
- cuda
gift-skylight:
script:
- set OLD_PATH=%PATH%
- echo ***** CUDA 7 *****
- set CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5
- set PATH=%CUDA_PATH%\bin;%OLD_PATH%;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
- "call .\\ci\\test-win.bat"
- echo ***** CUDA 8 *****
- set CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0
- set PATH=%CUDA_PATH%\bin;%OLD_PATH%;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
- "call .\\ci\\test-win.bat"
tags:
- gift-skylight
- gift-win64
- matlab
- cuda