-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
41 lines (33 loc) · 999 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
35
36
37
38
39
40
41
version: "{build}"
clone_folder: c:\projects\VisualScriptEngineWeb
image:
- Visual Studio 2017
- Visual Studio 2019
configuration:
- Debug
- Release
platform:
- x64
init:
- set cMakeParams=
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" ( set cMakeParams=-G "Visual Studio 15 2017 Win64" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" ( set cMakeParams=-G "Visual Studio 16 2019" -A "x64")
before_build:
- mkdir Build
- cd Build
- cmake %cMakeParams% ..
- cd ..
build:
project: c:\projects\VisualScriptEngineWeb\Build\VisualScriptEngineWeb.sln
verbosity: minimal
after_build:
- git clone https://github.com/emscripten-core/emsdk.git
- cd emsdk
- git pull
- emsdk install latest
- emsdk activate latest
- emsdk install mingw-4.6.2-32bit
- emsdk activate mingw-4.6.2-32bit
- cd ..
- mkdir WebApp
- EmscriptenBuild.bat c:\projects\VisualScriptEngineWeb\emsdk c:\projects\VisualScriptEngineWeb\WebApp %configuration%