Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Appveyor to Azure Pipelines #2342

Merged
merged 4 commits into from
Feb 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 0 additions & 67 deletions .appveyor.yml

This file was deleted.

24 changes: 24 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
jobs:
- job: Windows
pool:
vmImage: 'vs2017-win2016'
variables:
NUM_THREADS: 2
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
- script: |
git lfs install
git lfs fetch
git lfs checkout
pip install conan --upgrade
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
conan install ninja_installer/1.8.2_kitware@bincrafters/stable -r bincrafters -g=virtualenv
call activate.bat
mkdir build
cd build
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\vsdevcmd" -arch=x64
cmake .. -G Ninja -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DOGS_EIGEN_DYNAMIC_SHAPE_MATRICES=ON -DOGS_USE_PCH=OFF
ninja tests
ninja ctest