-
Notifications
You must be signed in to change notification settings - Fork 40
/
.gitlab-ci.yml
36 lines (34 loc) · 934 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
stages:
- build
build_mac:
stage: build
tags:
- xcode-11.3
before_script:
- bash ./ci/scripts/prepare.sh
script:
- bash ./ci/scripts/run_tests.sh
- bash ./ci/scripts/generate_cmake.sh
- bash ./ci/scripts/generate_cmake_tests.sh
- bash ./ci/scripts/build_all_libraries.sh
- bash ./ci/scripts/build_all_examples.sh
only:
- merge_requests
build_linux:
stage: build
image: ubuntu:20.04
tags:
- docker
before_script:
- apt-get update
- ln -fs /usr/share/zoneinfo/Europe/Warsaw /etc/localtime
- apt-get -y install curl cmake ninja-build unzip tar python3-pip python3-venv git
- bash ./ci/scripts/prepare.sh
script:
- bash ./ci/scripts/run_tests.sh
- bash ./ci/scripts/generate_cmake.sh
- bash ./ci/scripts/generate_cmake_tests.sh
- bash ./ci/scripts/build_all_libraries.sh
- bash ./ci/scripts/build_all_examples.sh
only:
- merge_requests