-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
appveyor.yml
35 lines (35 loc) · 1.38 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
version: 4.0.{build}.0
image: Visual Studio 2019
platform:
- Win32
- x64
configuration:
- Release_LIB
install:
- cmd: git submodule -q update --init
- cmd: |
cd "C:\Tools\vcpkg"
git pull > NUL
.\bootstrap-vcpkg.bat > NUL
cd %appveyor_build_folder%
before_build:
- cmd: vcpkg integrate install
- cmd: vcpkg update
- cmd: vcpkg install spdlog:x86-windows-static spdlog:x64-windows-static detours:x86-windows-static detours:x64-windows-static
- cmd: vcpkg install imgui:x86-windows-static imgui:x64-windows-static
- ps: Invoke-WebRequest "https://downloads.nefarius.at/other/nefarius/vpatch/vpatch.exe" -OutFile vpatch.exe
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\src\Indicium-Supra\Indicium-Supra.rc" --resource.file-version --resource.product-version
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\samples\Indicium-ImGui\Indicium-ImGui.rc" --resource.file-version --resource.product-version
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\samples\Indicium-FW1FontWrapper\Indicium-FW1FontWrapper.rc" --resource.file-version --resource.product-version
build:
project: $(APPVEYOR_BUILD_FOLDER)\$(APPVEYOR_PROJECT_NAME).sln
artifacts:
- path: 'bin\**\*.dll'
name: Indicium-Supra
deploy:
- provider: Environment
name: BUILDBOT
on:
appveyor_repo_tag: true
cache:
- c:\Tools\vcpkg\installed