-
Notifications
You must be signed in to change notification settings - Fork 4
/
azure-pipelines.yml
43 lines (42 loc) · 1.18 KB
/
azure-pipelines.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
jobs:
- job: ubuntu_20_04
displayName: 'Build - Ubuntu 20.04'
continueOnError: false
pool:
vmImage: 'ubuntu-20.04'
workspace:
clean: all
steps:
- script: |
sudo ./ci-install-oatpp-modules.sh
displayName: 'install oatpp modules'
- script: |
mkdir -p user-service/build
mkdir -p book-service/build
mkdir -p facade/build
mkdir -p monolith/all-services/build
displayName: 'make dirs build'
- script: |
sudo cmake ..
sudo make
make test ARGS="-V"
workingDirectory: user-service/build
displayName: 'build user-service'
- script: |
sudo cmake ..
sudo make
make test ARGS="-V"
workingDirectory: book-service/build
displayName: 'build book-service'
- script: |
sudo cmake ..
sudo make
make test ARGS="-V"
workingDirectory: facade/build
displayName: 'build facade'
- script: |
sudo cmake ..
sudo make
# make test ARGS="-V"
workingDirectory: monolith/all-services/build
displayName: 'build monolith'