-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
59 lines (52 loc) · 1.2 KB
/
.gitlab-ci.yml
File metadata and controls
59 lines (52 loc) · 1.2 KB
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
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- test
- release
.check:
stage: test
image: cr.yandex/crppmgcujiph4hvf0dup/hse-cxx-build:latest
allow_failure: true
script:
- cmake --version
- python3 --version
- ./infra/patch-from-private.py
- mkdir -p build/solutions
- cd build/solutions
- cmake ../../ -G Ninja -DTEST_SOLUTION=ON -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- ninja test-all
check-solutions-gcc-12-debug:
extends: .check
variables:
CC: gcc-12
CXX: g++-12
BUILD_TYPE: Debug
check-solutions-clang-14-debug:
extends: .check
variables:
CC: clang-14
CXX: clang++-14
BUILD_TYPE: Debug
check-solutions-clang-14-asan:
extends: .check
variables:
CC: clang-14
CXX: clang++-14
BUILD_TYPE: ASAN
check-solutions-clang-14-tsan:
extends: .check
variables:
CC: clang-14
CXX: clang++-14
BUILD_TYPE: TSAN
deploy:
only:
- main
tags:
- docker
stage: release
script:
- docker pull cr.yandex/crppmgcujiph4hvf0dup/hse-cxx-build:latest
- git checkout .
- docker build -f infra/testenv.docker -t cr.yandex/crppmgcujiph4hvf0dup/hse-cxx-testenv .
- docker push cr.yandex/crppmgcujiph4hvf0dup/hse-cxx-testenv:latest