-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
windows-steps.yml
49 lines (41 loc) · 1.2 KB
/
windows-steps.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
43
44
45
46
47
48
49
parameters:
buildConfiguration: Release
jobs:
- job: Windows
displayName: Windows CI Tests
pool:
vmImage: 'vs2017-win2016'
strategy:
matrix:
py36:
CONDA_PY: "36"
CONDA_ENV: shogun
steps:
- checkout: self
clean: true
fetchDepth: 5
submodules: true
- task: CondaEnvironment@1
displayName: Install dependencies
inputs:
createCustomEnvironment: True
environmentName: shogun
packageSpecs: 'python=3.6.* setuptools numpy scipy eigen rxcpp cmake snappy zlib ctags ply ninja mkl-devel jinja2'
createOptions: '-c conda-forge'
updateConda: false
- script: |
.ci\\setup_clcache.cmd
displayName: Setup CLCache
- task: CMake@1
displayName: Setup
inputs:
cmakeArgs: '-G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=${{ parameters.buildConfiguration }} -DBUILD_META_EXAMPLES=OFF -DENABLE_TESTING=ON ..'
- task: VSBuild@1
displayName: Build
inputs:
solution: 'build/shogun.sln'
platform: x64
configuration: ${{ parameters.buildConfiguration }}
- script: ctest -j%NUMBER_OF_PROCESSORS% -C ${{ parameters.buildConfiguration }} -V
displayName: Test
workingDirectory: build