mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Enable pytest for appveyor (#5555)
- use vcpkg to install and build grpc - use cache for grpc binaries - execute tests using pytest
This commit is contained in:
@@ -1,19 +1,7 @@
|
||||
version: 1.0.{build}
|
||||
branches:
|
||||
only:
|
||||
- dev
|
||||
image: Visual Studio 2017
|
||||
clone_depth: 1
|
||||
environment:
|
||||
QT5: C:\Qt\5.13.2\msvc2017_64
|
||||
cache: C:\vcpkg
|
||||
build_script:
|
||||
- cmd: >-
|
||||
mkdir cmakebuild
|
||||
|
||||
cd cmakebuild
|
||||
|
||||
if exist "%QT5%" set Path=%QT5%\bin;%Path%
|
||||
|
||||
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DRESINSIGHT_ENABLE_UNITY_BUILD=on -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=on "-DCMAKE_PREFIX_PATH=%QT5%" ..
|
||||
|
||||
cmake --build . --target ResInsight --config Release
|
||||
- ps: .\appveyor-build.ps1
|
||||
|
||||
Reference in New Issue
Block a user