forked from OpenEnroth/OpenEnroth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
34 lines (25 loc) · 889 Bytes
/
appveyor.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
version: 1.0.{build}
image: Visual Studio 2019
platform:
- x86
configuration:
- Debug
- Release
#cache:
# - C:\3rd_party -> win\WinPrebuild.ps1
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-http-proxy.ps1'))
# - ps: .\win\WinPrebuild.ps1
# build debug
#- ps: |
# Get-ChildItem C:\3rd_party -rec
# Prepare for NMake
#- if "%platform%" == "x86" call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
#- if "%platform%" == "x64" call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
# Workaround testing
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
build_script:
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: cmake -G "NMake Makefiles" . -DCMAKE_BUILD_TYPE=%configuration%
- cmd: nmake check_style
- cmd: nmake