forked from TOMB5/TOMB5
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
56 lines (44 loc) · 1.42 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: 1.0.{build}
branches:
only:
- master
# - appveyor
- appveyor-testbranch
- test
skip_tags: true
image: Visual Studio 2019
configuration:
- Debug
- Release
clone_folder: c:\projects\TOMB5
#lib_folder: %clone_folder%\EXTERNAL
build:
project: c:\projects\TOMB5\BUILD\TOMB5.sln
verbosity: minimal
platform:
- Win32
#- x64
install:
- set SDL2_URL="https://www.libsdl.org/release/SDL2-devel-2.0.9-VC.zip"
- appveyor DownloadFile %SDL2_URL% -FileName SDL2.zip
- 7z x SDL2.zip -oC:\projects\TOMB5\EXTERNAL\
- set SDL2=C:\projects\TOMB5\EXTERNAL\SDL2-2.0.9
- set GLEW_URL="https://netix.dl.sourceforge.net/project/glew/glew/2.1.0/glew-2.1.0-win32.zip"
- appveyor DownloadFile %GLEW_URL% -FileName GLEW.zip
- 7z x GLEW.zip -oC:\projects\TOMB5\EXTERNAL\
before_build:
- cmd: cd %clone_folder%
#- cmd: dir /s
- cmd: md BUILD
- cmd: cd BUILD
- cmd: if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 16 2019
- cmd: if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 16 2019
- cmd: cmake -G "%CMAKE_GENERATOR_NAME%" -A %platform% -DCMAKE_BUILD_TYPE=%configuration% -DDART_MSVC_DEFAULT_OPTIONS="%MSVC_DEFAULT_OPTIONS%" ..
artifacts:
- path: BUILD\SPEC_PSXPC_N\*.zip
name: Binaries
after_build:
- cmd: cd SPEC_PSXPC_N
- cmd: copy "C:\projects\TOMB5\EXTERNAL\SDL2-2.0.9\lib\x86\SDL2.dll" "%configuration%\"
- 7z a TOMB5.zip "%configuration%\"
#build: off