-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy path.appveyor.yml
60 lines (53 loc) · 1.53 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
57
58
59
60
os: Visual Studio 2017
platform:
- x64
configuration:
- Debug
- Release
environment:
INTR_QTDIR: "C:\\Qt\\5.9\\msvc2017_64\\"
INTR_GIT_TOKEN:
secure: 3K1IRVqC1dSplGBGvUMuykBbCMIH8INr3HUE4YNJDmtEYNy0kTJPzeW+pMSCae4y
VK_SDK_PATH: "C:\\VulkanSDK\\1.0.54.0\\"
artifacts:
- path: Intrinsic_Win32.7z
name: Intrinsic_Win32
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: ''
provider: GitHub
auth_token: $(INTR_GIT_TOKEN)
artifact: Intrinsic_Win32
draft: true
prerelease: false
force_update: true
on:
configuration: Release
branch: master
appveyor_repo_tag: true
install:
- cd ..
- git clone -q https://%INTR_GIT_TOKEN%@github.com/begla/Intrinsic_Dependencies.git
- cd Intrinsic
- cd scripts_win32
- call ConfigAndBuildDependenciesVS15.bat
- cd ..
# Download and install Vulkan SDK
- appveyor DownloadFile https://vulkan.lunarg.com/sdk/download/1.0.54.0/windows/VulkanSDK-1.0.54.0-Installer.exe -FileName vulkan.exe
- vulkan.exe /S
build_script:
- cd scripts_win32
- call ConfigVS15.bat
- cd ../build
- cmake --build . --config %CONFIGURATION%
- cd ..
# Create artifacts only for tags and release configuration
- ps: |
if ($env:APPVEYOR_REPO_TAG -eq $true -And $env:CONFIGURATION -eq "Release")
{
cd scripts_win32
& appveyor DownloadFile http://www.intrinsic-engine.com/downloads/media.7z -FileName media.7z
& 7z x media.7z -o"..\app\media" -y
& .\CopyDllsToAppDir_Release.bat
& .\DistroCreateAndZip.bat
}