|
13 | 13 | clean: all |
14 | 14 | steps: |
15 | 15 | - script: | |
16 | | - mkdir build |
| 16 | + docker-compose build |
| 17 | + displayName: 'Compose build' |
17 | 18 | - script: | |
18 | | - git clone https://github.com/oatpp/oatpp |
19 | | - mkdir -p oatpp/build |
20 | | - displayName: 'Checkout - oatpp' |
21 | | - workingDirectory: build |
22 | | - - script: | |
23 | | - cmake .. |
24 | | - sudo make install |
25 | | - displayName: 'Build - oatpp' |
26 | | - workingDirectory: build/oatpp/build |
27 | | - - script: | |
28 | | - cmake .. |
29 | | - make |
30 | | - displayName: 'Build - module' |
31 | | - workingDirectory: build |
32 | | - - script: | |
33 | | - make test ARGS="-V" |
34 | | - displayName: 'Test' |
35 | | - workingDirectory: build |
36 | | - - job: macOS |
37 | | - displayName: 'Build - macOS' |
38 | | - continueOnError: false |
39 | | - pool: |
40 | | - vmImage: 'macOS-10.14' |
41 | | - workspace: |
42 | | - clean: all |
43 | | - steps: |
44 | | - - script: | |
45 | | - mkdir build |
46 | | - - script: | |
47 | | - git clone https://github.com/oatpp/oatpp |
48 | | - mkdir -p oatpp/build |
49 | | - displayName: 'Checkout - oatpp' |
50 | | - workingDirectory: build |
51 | | - - script: | |
52 | | - cmake .. |
53 | | - sudo make install |
54 | | - displayName: 'Build - oatpp' |
55 | | - workingDirectory: build/oatpp/build |
56 | | - - script: | |
57 | | - cmake .. |
58 | | - make |
59 | | - displayName: 'Build - module' |
60 | | - workingDirectory: build |
61 | | - - script: | |
62 | | - make test ARGS="-V" |
63 | | - displayName: 'Test' |
64 | | - workingDirectory: build |
65 | | - - job: windows |
66 | | - displayName: 'Build - Windows' |
67 | | - continueOnError: false |
68 | | - pool: |
69 | | - vmImage: 'windows-latest' |
70 | | - workspace: |
71 | | - clean: all |
72 | | - steps: |
73 | | - - script: | |
74 | | - MD build |
75 | | - - script: | |
76 | | - git clone https://github.com/oatpp/oatpp |
77 | | - MD oatpp\build |
78 | | - displayName: 'Checkout - oatpp' |
79 | | - workingDirectory: build |
80 | | - - script: | |
81 | | - cmake .. |
82 | | - cmake --build . --target INSTALL |
83 | | - displayName: 'Build - oatpp' |
84 | | - workingDirectory: build\oatpp\build |
85 | | - - script: | |
86 | | - cmake .. |
87 | | - cmake --build . |
88 | | - displayName: 'Build - module' |
89 | | - workingDirectory: build |
90 | | - - script: | |
91 | | - module-tests.exe |
92 | | - displayName: 'Test' |
93 | | - workingDirectory: build\test\Debug\ |
| 19 | + docker-compose run test |
| 20 | + displayName: 'Compose run' |
0 commit comments