-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.gitlab-ci.yml
91 lines (81 loc) · 1.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
stages:
- build
- test
- bench
variables:
GIT_SUBMODULE_STRATEGY: recursive
build:
stage: build
tags:
- gpu, a100
script:
- cmake -S . -B build -DCMAKE_CUDA_ARCHITECTURES=80-real -DPHANTOM_ENABLE_TEST=ON -DPHANTOM_ENABLE_BENCH=ON -DPHANTOM_ENABLE_PYTHON_BINDING=ON
- cmake --build build -j
artifacts:
paths:
- build/bin
- build/lib
test BFV:
stage: test
tags:
- gpu, a100
script:
- ./build/bin/example_context 1
dependencies:
- build
test BGV:
stage: test
tags:
- gpu, a100
script:
- ./build/bin/example_context 2
dependencies:
- build
test CKKS:
stage: test
tags:
- gpu, a100
script:
- ./build/bin/example_context 3
dependencies:
- build
bench BFV:
stage: bench
tags:
- gpu, a100
script:
- ./build/bin/bfv_bench
dependencies:
- build
bench BGV:
stage: bench
tags:
- gpu, a100
script:
- ./build/bin/bgv_bench
dependencies:
- build
bench CKKS:
stage: bench
tags:
- gpu, a100
script:
- ./build/bin/ckks_bench
dependencies:
- build
bench NTT:
stage: bench
tags:
- gpu, a100
script:
- ./build/bin/ntt_bench
dependencies:
- build
bench KeySwitch:
stage: bench
tags:
- gpu, a100
script:
- ./build/bin/keyswitch_bench
dependencies:
- build