-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
51 lines (46 loc) · 907 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
45
46
47
48
49
50
51
stages:
- build
- tests
cache:
- key: vcpkg
paths:
- .local/vcpkg
- key: cmake
paths:
- .local/cmake
.archlinux-setup:
tags:
- docker
image: archlinux
before_script:
- pacman -Syu --noconfirm base-devel gdb valgrind git cmake curl unzip tar zip
build:
extends: .archlinux-setup
stage: build
script:
- source .devenv/bash_init.sh
- bash vcpkg_install.sh
- cmake_prepare_release
- cmake_build_release
- cmake_install_release
artifacts:
paths:
- .local/cmake/
tests:
extends: .archlinux-setup
stage: tests
dependencies:
- build
script:
- source .devenv/bash_init.sh
- ctest_release
tests-non-regression:
extends: .archlinux-setup
stage: tests
dependencies:
- build
script:
- python -m venv .venv
- source .venv/bin/activate
- python -m pip install pytest
- python -m pytest -s