-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitbucket-pipelines.yml
More file actions
70 lines (69 loc) · 2.5 KB
/
bitbucket-pipelines.yml
File metadata and controls
70 lines (69 loc) · 2.5 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
pipelines:
branches:
'{master, devel}':
- step:
name: Ubuntu 16.04
image: sotirisp/supereight-ci:16.04
script:
# Build and test in debug mode
- mkdir -p builddebug && cd builddebug
- GTEST_ROOT=/usr/local/src/googletest/googletest/ cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- make -j test
- cd ..
# Build and test in release mode
- mkdir -p buildrelease && cd buildrelease
- GTEST_ROOT=/usr/local/src/googletest/googletest/ cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j
- make -j test
- make install
- cd ..
# Test correct installation
- mkdir -p buildtestinstall && cd buildtestinstall
- cmake -DCMAKE_BUILD_TYPE=Debug ../test/test_install
- make -j
- make -j test
- step:
name: Ubuntu 18.04
image: sotirisp/supereight-ci:18.04
script:
# Build and test in debug mode
- mkdir -p builddebug && cd builddebug
- GTEST_ROOT=/usr/local/src/googletest/googletest/ cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- make -j test
- cd ..
# Build and test in release mode
- mkdir -p buildrelease && cd buildrelease
- GTEST_ROOT=/usr/local/src/googletest/googletest/ cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j
- make -j test
- make install
- cd ..
# Test correct installation
- mkdir -p buildtestinstall && cd buildtestinstall
- cmake -DCMAKE_BUILD_TYPE=Debug ../test/test_install
- make -j
- make -j test
- step:
name: Ubuntu 20.04
image: sotirisp/supereight-ci:20.04
script:
# Build and test in debug mode
- mkdir -p builddebug && cd builddebug
- GTEST_ROOT=/usr/local/src/googletest/googletest/ cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- make -j test
- cd ..
# Build and test in release mode
- mkdir -p buildrelease && cd buildrelease
- GTEST_ROOT=/usr/local/src/googletest/googletest/ cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j
- make -j test
- make install
- cd ..
# Test correct installation
- mkdir -p buildtestinstall && cd buildtestinstall
- cmake -DCMAKE_BUILD_TYPE=Debug ../test/test_install
- make -j
- make -j test