forked from ObEngine/ObEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
65 lines (53 loc) · 1.56 KB
/
appveyor.yml
File metadata and controls
65 lines (53 loc) · 1.56 KB
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
57
58
59
60
61
62
63
64
65
version: "{build}"
os: Visual Studio 2019
platform: x64
environment:
MSVC_DEFAULT_OPTIONS: ON
SFML_DIR: C:\Libraries\SFML-2.5.1
configuration:
- Release
init:
- cmd: cmake --version
- cmd: msbuild /version
clone_folder: C:\projects\ObEngine
before_build:
- cmd: cd C:\Libraries
- ps: Start-FileDownload "https://www.sfml-dev.org/files/SFML-2.5.1-windows-vc15-64-bit.zip"
- cmd: 7z.exe x SFML-2.5.1-windows-vc15-64-bit.zip
- cmd: cd C:\projects\ObEngine
- cmd: cmake -G "Visual Studio 16 2019" -A x64 -DSFML_DIR=%SFML_DIR% .
- cmd: dir
before_package:
- cmd: cd C:\projects\ObEngine
- cmd: mkdir Release
- cmd: cd Release
- cmd: copy "%SFML_DIR%\bin\openal32.dll"
- cmd: copy "%SFML_DIR%\bin\sfml-audio-2.dll"
- cmd: copy "%SFML_DIR%\bin\sfml-graphics-2.dll"
- cmd: copy "%SFML_DIR%\bin\sfml-network-2.dll"
- cmd: copy "%SFML_DIR%\bin\sfml-system-2.dll"
- cmd: copy "%SFML_DIR%\bin\sfml-window-2.dll"
- cmd: copy "C:\projects\ObEngine\src\Player\Release\ObEnginePlayer.exe"
- cmd: xcopy /E "C:\projects\ObEngine\engine"
- cmd: dir
- cmd: cd ..
- cmd: 7z a ObEngine-win64.zip ./Release/*
- cmd: dir
build:
parallel: true
project: ObEngine.sln
test: off
artifacts:
- path: ObEngine-win64.zip
name: ObEngine-win64
deploy:
release: obengine-unstable-win
description: 'ObEngine Unstable Release (From latest commit)'
provider: GitHub
auth_token:
secure: 5E+JB7x9O0JbU2cR2rjoec5G/KJMmYkRhKE2lliwU9fwn8yPxm+qGn59yEh/vRUU
artifact: ObEngine-win64.zip
prerelease: true
force_update: true
on:
branch: master