forked from equalitie/cpp-upnp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
44 lines (38 loc) · 979 Bytes
/
config.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
version: 2
jobs:
build:
docker:
- image: debian:bullseye
environment:
CMAKE_BUILD_PARALLEL_LEVEL: 3
# cmake fails without this for some reason
LANG: C.UTF-8
BASH_ENV: ~/.bashrc
steps:
- run:
name: Install dependencies
command: |
apt-get update
apt-get install -y \
git \
libboost1.74-dev \
libboost-coroutine1.74-dev \
build-essential \
cmake \
ninja-build \
- checkout
- run:
name: Build & run tests
command: |
mkdir build.tests
cd build.tests
cmake ../test
cmake --build .
./test-url --log_level=test_suite
- run:
name: Build example
command: |
mkdir build.example
cd build.example
cmake ../example
cmake --build .