|
27 | 27 | sudo make install |
28 | 28 | displayName: 'Build - oatpp' |
29 | 29 | workingDirectory: build/oatpp/build |
| 30 | +
|
30 | 31 | ####################################################################################### |
31 | 32 | ## Build oatpp-sqlite |
32 | 33 | - script: | |
|
39 | 40 | sudo make install |
40 | 41 | displayName: 'Build - oatpp-sqlite' |
41 | 42 | workingDirectory: build/oatpp-sqlite/build |
| 43 | +
|
42 | 44 | ####################################################################################### |
43 | 45 | ## Build oatpp-swagger |
44 | 46 | - script: | |
|
51 | 53 | sudo make install |
52 | 54 | displayName: 'Build - oatpp-swagger' |
53 | 55 | workingDirectory: build/oatpp-swagger/build |
| 56 | +
|
| 57 | + ####################################################################################### |
| 58 | + ## Build Project |
| 59 | + - script: | |
| 60 | + cmake .. |
| 61 | + sudo make |
| 62 | + displayName: 'CMake' |
| 63 | + workingDirectory: build |
| 64 | + - script: | |
| 65 | + make test ARGS="-V" |
| 66 | + displayName: 'Test' |
| 67 | + workingDirectory: build |
| 68 | +
|
| 69 | + - job: ubuntu_16_04 |
| 70 | + displayName: 'Build - macOS' |
| 71 | + continueOnError: false |
| 72 | + pool: |
| 73 | + vmImage: 'macOS-10.14' |
| 74 | + workspace: |
| 75 | + clean: all |
| 76 | + steps: |
| 77 | + - script: | |
| 78 | + mkdir build |
| 79 | +
|
| 80 | + ####################################################################################### |
| 81 | + ## Build oatpp |
| 82 | + - script: | |
| 83 | + git clone https://github.com/oatpp/oatpp |
| 84 | + mkdir -p oatpp/build |
| 85 | + displayName: 'Checkout - oatpp' |
| 86 | + workingDirectory: build |
| 87 | + - script: | |
| 88 | + cmake -DOATPP_BUILD_TESTS=OFF .. |
| 89 | + sudo make install |
| 90 | + displayName: 'Build - oatpp' |
| 91 | + workingDirectory: build/oatpp/build |
| 92 | +
|
| 93 | + ####################################################################################### |
| 94 | + ## Build oatpp-sqlite |
| 95 | + - script: | |
| 96 | + git clone https://github.com/oatpp/oatpp-sqlite |
| 97 | + mkdir -p oatpp-sqlite/build |
| 98 | + displayName: 'Checkout - oatpp-sqlite' |
| 99 | + workingDirectory: build |
| 100 | + - script: | |
| 101 | + cmake -DOATPP_SQLITE_AMALGAMATION=ON .. |
| 102 | + sudo make install |
| 103 | + displayName: 'Build - oatpp-sqlite' |
| 104 | + workingDirectory: build/oatpp-sqlite/build |
| 105 | +
|
| 106 | + ####################################################################################### |
| 107 | + ## Build oatpp-swagger |
| 108 | + - script: | |
| 109 | + git clone https://github.com/oatpp/oatpp-swagger |
| 110 | + mkdir -p oatpp-swagger/build |
| 111 | + displayName: 'Checkout - oatpp-swagger' |
| 112 | + workingDirectory: build |
| 113 | + - script: | |
| 114 | + cmake .. |
| 115 | + sudo make install |
| 116 | + displayName: 'Build - oatpp-swagger' |
| 117 | + workingDirectory: build/oatpp-swagger/build |
| 118 | +
|
54 | 119 | ####################################################################################### |
55 | 120 | ## Build Project |
56 | 121 | - script: | |
|
0 commit comments