-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathappveyor.yml
61 lines (61 loc) · 2.31 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
61
version: 2.10.{build}.0
build_cloud: WIN-LKR467JS4GL
image: Windows
environment:
DmfRootPath: C:\projects\DMF
DOMITO_INC_PATH: C:\projects\Domito\include
DOMITO_LIB_PATH: C:\projects\Domito\lib
platform:
- x64
- ARM64
configuration:
- Release
test: off
skip_commits:
files:
- .github/*
- '**/*.md'
- '**/*.png'
- '**/*.jpg'
- '**/*.aip'
- '**/*.DotSettings'
install:
- cmd: git submodule -q update --init
- cmd: git clone -q https://github.com/microsoft/DMF.git C:\projects\DMF 2> nul || set ERRORLEVEL=0
- cmd: |
cd "C:\projects\DMF"
git pull > NUL
cd %appveyor_build_folder%
- cmd: git clone -q https://git.nefarius.at/nefarius/Domito.git C:\projects\Domito 2> nul || set ERRORLEVEL=0
- cmd: |
cd "C:\projects\Domito"
git pull > NUL
cd %appveyor_build_folder%
- cmd: vcpkg integrate install
- cmd: vcpkg install detours:x86-windows-static detours:x64-windows-static
before_build:
- cmd: nuget restore
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\BthPS3\BthPS3.vcxproj" --vcxproj.inf-time-stamp
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\BthPS3\BthPS3.rc" --resource.file-version --resource.product-version
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\BthPS3PSM\BthPS3PSM.vcxproj" --vcxproj.inf-time-stamp
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\BthPS3PSM\BthPS3PSM.rc" --resource.file-version --resource.product-version
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\BthPS3Util\BthPS3Util.rc" --resource.file-version --resource.product-version
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\Setup\BthPS3CA\BthPS3CA.rc" --resource.file-version --resource.product-version
- cmd: vpatch.exe --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\BthPS3CfgUI\Properties\AssemblyInfo.cs" --assembly.version --assembly.file-version
build_script:
- cmd: .\build.cmd
after_build:
- cmd: makecab.exe /f .\setup\BthPS3_%PLATFORM%.ddf
artifacts:
- path: 'bin**\BthPS3\*.inf'
- path: 'bin**\BthPS3\*.sys'
- path: 'bin**\BthPS3PSM\*.inf'
- path: 'bin**\BthPS3PSM\*.sys'
- path: 'bin**\*.pdb'
- path: 'disk1\*.cab'
- path: 'bin**\*.exe'
deploy:
- provider: Environment
name: BUILDBOT
on:
appveyor_repo_tag: true