Forked from
ogs / ogs
11269 commits behind the upstream repository.
-
Lars Bilke authored
Will be replaced by native CMake precompiled headers.
Lars Bilke authoredWill be replaced by native CMake precompiled headers.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
azure-pipelines.yml 860 B
jobs:
- job: Windows
pool:
vmImage: 'windows-2019'
timeoutInMinutes: 120
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\2019\Enterprise\Common7\Tools\vsdevcmd" -arch=x64
cmake .. -G Ninja -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DOGS_EIGEN_DYNAMIC_SHAPE_MATRICES=ON
ninja -j 2
ninja -j 2 tests