-
Notifications
You must be signed in to change notification settings - Fork 17
/
.gitlab-ci.yml
59 lines (55 loc) · 1.09 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
59
default:
tags:
- docker
.ubuntu_setup_template: &ubuntu_setup
before_script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive
apt-get install -y
build-essential
cmake
gfortran
libblas-dev
liblapack-dev
libmetis-dev
libomp-dev
libtbb-dev
ninja-build
nvidia-cuda-toolkit
.mingw_setup_template: &mingw_setup
before_script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive
apt-get install -y
g++-mingw-w64
gcc-mingw-w64
cmake
libblas-dev
liblapack-dev
libmetis-dev
libomp-dev
libtbb-dev
ninja-build
nvidia-cuda-toolkit
ubuntu:build:
image: ubuntu:rolling
stage: build
<<: *ubuntu_setup
script:
- mkdir build
- cmake -S . -B build/ -GNinja -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Debug
- cmake --build build/
artifacts:
paths:
- build/
ubuntu:package:
image: ubuntu:rolling
stage: deploy
<<: *ubuntu_setup
script:
- cd build
- cpack -G ZIP
artifacts:
paths:
- build/*.zip
needs: ['ubuntu:build']