forked from nicolsen/ME759-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
47 lines (34 loc) · 876 Bytes
/
.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
#################################
## ME 759 Homework Test Builds ##
#################################
stages:
- build
.base:
tags:
- linux
before_script:
- cat /etc/os-release
- uname -a
- echo "$GITLAB_USER_NAME (@$GITLAB_USER_LOGIN)"
hw01:
stage: build
extends: .base
script:
- cd HW01
- g++ task6.cpp -Wall -O3 -o task6
hw02:
stage: build
extends: .base
script:
- cd HW02
- g++ scan.cpp task1.cpp -Wall -O3 -o task1
- g++ convolution.cpp task2.cpp -Wall -O3 -o task2
- g++ task3.cpp matmul.cpp -Wall -O3 -o task3
hw03:
stage: build
extends: .base
script:
- cd HW03
- nvcc task1.cu -Xcompiler -O3 -Xcompiler -Wall -Xptxas -O3 -o task1
- nvcc task2.cu -Xcompiler -O3 -Xcompiler -Wall -Xptxas -O3 -o task2
- nvcc task3.cu vadd.cu -Xcompiler -O3 -Xcompiler -Wall -Xptxas -O3 -o task3