-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.yml
48 lines (47 loc) · 1.16 KB
/
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
45
46
47
48
version: 2
jobs:
build-release:
docker:
- image: lelandjansen/speed-of-sound-toolchain:0.0.2
steps:
- checkout
- run:
name: Git submodules
command: git submodule update --init --recursive
- run:
name: Build (release)
command: |
cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
.
cmake --build . -- -j2
build-debug-and-test:
docker:
- image: lelandjansen/speed-of-sound-toolchain:0.0.2
environment:
COVERALLS_REPO_TOKEN: Ny1fDedTzf5EuoygukebX5x28beAqhHD9
steps:
- checkout
- run:
name: Git submodules
command: git submodule update --init --recursive
- run:
name: Build (debug)
command: |
cmake \
-DCMAKE_BUILD_TYPE=DEBUG \
.
cmake --build . -- -j2
- run:
name: Run unit tests
command: ./unit_tests
- run:
name: Coveralls
when: on_success
command: coveralls --include src
workflows:
version: 2
build_and_test:
jobs:
- build-release
- build-debug-and-test