-
Notifications
You must be signed in to change notification settings - Fork 104
/
appveyor.yml
44 lines (29 loc) · 1.65 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
image: Visual Studio 2022
clone_folder: c:\project\mediaportal-2
cache:
- '%USERPROFILE%\.nuget\packages -> appveyor.yml' # global-packages
- '%LocalAppData%\NuGet\v3-cache -> appveyor.yml' # http-cache
install:
- cmd: >-
git -C %APPVEYOR_BUILD_FOLDER% submodule update --init --recursive
echo [https://www.transifex.com]>%USERPROFILE%\.transifexrc
echo api_hostname = https://api.transifex.com>>%USERPROFILE%\.transifexrc
echo hostname = https://www.transifex.com>>%USERPROFILE%\.transifexrc
echo password = %TX_TOKEN%>>%USERPROFILE%\.transifexrc
echo username = api>>%USERPROFILE%\.transifexrc
echo rest_hostname = https://rest.api.transifex.com>>%USERPROFILE%\.transifexrc
echo token = %TX_TOKEN%>>%USERPROFILE%\.transifexrc
build_script:
- cmd: >-
cd %APPVEYOR_BUILD_FOLDER%\MediaPortal\build\
@echo | call MSBUILD_Create_Release_Full_Installer.bat
7z a ..\Bin\MediaPortalSetup_%APPVEYOR_BUILD_VERSION%.%APPVEYOR_REPO_COMMIT%.zip ..\Bin\MP2-Setup\Release\net48\en-us\MP2-Setup.exe ..\Bin\MP2-Setup\Release\net48\en-us\MP2-Setup-Logging.bat
7z a ..\Bin\MediaPortalSetup_Net6_%APPVEYOR_BUILD_VERSION%.%APPVEYOR_REPO_COMMIT%.zip ..\Bin\MP2-Setup\Release\net6.0-windows\en-us\MP2-Setup.exe ..\Bin\MP2-Setup\Release\net6.0-windows\en-us\MP2-Setup-Logging.bat
artifacts:
- path: MediaPortal\Bin\MediaPortalSetup_%APPVEYOR_BUILD_VERSION%.%APPVEYOR_REPO_COMMIT%.zip
name: Installer
- path: MediaPortal\Bin\MediaPortalSetup_Net6_%APPVEYOR_BUILD_VERSION%.%APPVEYOR_REPO_COMMIT%.zip
name: InstallerNet6
- path: MediaPortal\Build\msbuild.binlog
name: Build log (binary)
test: off