Try to run Windows CI.

This commit is contained in:
lganzzzo 2019-08-01 00:58:48 +04:00
parent 2d112d5c91
commit 75177bf556

View File

@ -3,17 +3,106 @@
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
#jobs:
#- job: ubuntu_16_04_mem_pool_on
# displayName: 'Build - Ubuntu 16.04 - With Memory Pool'
# continueOnError: false
# pool:
# vmImage: 'Ubuntu 16.04'
# workspace:
# clean: all
# steps:
# - script: |
# mkdir build
# - task: CMake@1
# - script: |
# cmake -DCMAKE_BUILD_TYPE=Release ..
# make
# displayName: 'CMake'
# workingDirectory: build
#
# - script: |
# make test ARGS="-V"
# displayName: 'Test'
# workingDirectory: build
#
#- job: ubuntu_16_04_mem_pool_off
# displayName: 'Build - Ubuntu 16.04 - No Memory Pool'
# continueOnError: false
# pool:
# vmImage: 'Ubuntu 16.04'
# workspace:
# clean: all
# steps:
# - script: |
# mkdir build
# - task: CMake@1
# - script: |
# cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
# make
# displayName: 'CMake'
# workingDirectory: build
#
# - script: |
# make test ARGS="-V"
# displayName: 'Test'
# workingDirectory: build
#
#- job: macOS_mem_pool_on
# displayName: 'Build - macOS - With Memory Pool'
# continueOnError: false
# pool:
# vmImage: 'macOS-10.14'
# workspace:
# clean: all
# steps:
# - script: |
# mkdir build
# - task: CMake@1
# - script: |
# cmake -DCMAKE_BUILD_TYPE=Release ..
# make
# displayName: 'CMake'
# workingDirectory: build
#
# - script: |
# make test ARGS="-V"
# displayName: 'Test'
# workingDirectory: build
#
#- job: macOS_mem_pool_off
# displayName: 'Build - macOS - No Memory Pool'
# continueOnError: false
# pool:
# vmImage: 'macOS-10.14'
# workspace:
# clean: all
# steps:
# - script: |
# mkdir build
# - task: CMake@1
# - script: |
# cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
# make
# displayName: 'CMake'
# workingDirectory: build
#
# - script: |
# make test ARGS="-V"
# displayName: 'Test'
# workingDirectory: build
jobs:
- job: ubuntu_16_04_mem_pool_on
displayName: 'Build - Ubuntu 16.04 - With Memory Pool'
- job: windows
displayName: 'Build - Windows'
continueOnError: false
pool:
vmImage: 'Ubuntu 16.04'
vmImage: 'windows-latest'
workspace:
clean: all
steps:
- script: |
mkdir build
MD build
- task: CMake@1
- script: |
cmake -DCMAKE_BUILD_TYPE=Release ..
@ -25,70 +114,3 @@ jobs:
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build
- job: ubuntu_16_04_mem_pool_off
displayName: 'Build - Ubuntu 16.04 - No Memory Pool'
continueOnError: false
pool:
vmImage: 'Ubuntu 16.04'
workspace:
clean: all
steps:
- script: |
mkdir build
- task: CMake@1
- script: |
cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build
- job: macOS_mem_pool_on
displayName: 'Build - macOS - With Memory Pool'
continueOnError: false
pool:
vmImage: 'macOS-10.14'
workspace:
clean: all
steps:
- script: |
mkdir build
- task: CMake@1
- script: |
cmake -DCMAKE_BUILD_TYPE=Release ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build
- job: macOS_mem_pool_off
displayName: 'Build - macOS - No Memory Pool'
continueOnError: false
pool:
vmImage: 'macOS-10.14'
workspace:
clean: all
steps:
- script: |
mkdir build
- task: CMake@1
- script: |
cmake -DOATPP_DISABLE_POOL_ALLOCATIONS=ON -DCMAKE_BUILD_TYPE=Release ..
make
displayName: 'CMake'
workingDirectory: build
- script: |
make test ARGS="-V"
displayName: 'Test'
workingDirectory: build