/
semaphore.yml
41 lines (41 loc) · 1.05 KB
/
semaphore.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
version: v1.0
name: First pipeline
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804
blocks:
- name: 'Prepare gcc, cpputest and build test'
task:
prologue:
commands:
- checkout
- gcc --version
- g++ --version
- install-package --update gcc-8 g++-8 lcov
- sudo rm /usr/bin/gcc
- sudo rm /usr/bin/g++
- sudo ln -s /usr/bin/gcc-8 /usr/bin/gcc
- sudo ln -s /usr/bin/g++-8 /usr/bin/g++
- gcc --version
- g++ --version
jobs:
- name: init cpputest framework
commands:
- git submodule init test/cpputest
- git submodule update test/cpputest
- cd test/cpputest
- ls
- ./autogen.sh
- ./configure
- make -j4
- cd ../..
- cd test
- make clean
- make check_paths
- make flags
- make debug
- make -j4
dependencies: []
execution_time_limit:
minutes: 10