diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5fd9d30..8ad2950 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -63,3 +63,35 @@ jobs: make test ARGS="-V" displayName: 'Test' workingDirectory: build + + - job: windows + displayName: 'Build - Windows' + continueOnError: false + pool: + vmImage: 'windows-latest' + workspace: + clean: all + steps: + - script: | + MD build + - script: | + git clone https://github.com/oatpp/oatpp + MD oatpp\build + displayName: 'Checkout - oatpp' + workingDirectory: build + - script: | + cmake .. + cmake --build . --target INSTALL + displayName: 'Build - oatpp' + workingDirectory: build\oatpp\build + + - script: | + cmake .. + cmake --build . + displayName: 'Build - module' + workingDirectory: build + + - script: | + module-tests.exe + displayName: 'Test' + workingDirectory: build\test\Debug\