mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-30 20:22:04 +00:00
8d83878f67
* Improve build identification Add versioning on CI build Fix #887 * Fix appveyor * Fix appveyor for real now
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
version: 1.0.{build}
|
|
branches:
|
|
only:
|
|
- master
|
|
image: Visual Studio 2019
|
|
environment:
|
|
matrix:
|
|
- config: Release
|
|
config_name: '-'
|
|
|
|
- config: Profile Release
|
|
config_name: '-profiled-'
|
|
build_script:
|
|
- ps: >-
|
|
dotnet --version
|
|
|
|
dotnet publish -c $env:config -r win-x64 /p:Version=$env:APPVEYOR_BUILD_VERSION
|
|
|
|
dotnet publish -c $env:config -r linux-x64 /p:Version=$env:APPVEYOR_BUILD_VERSION
|
|
|
|
dotnet publish -c $env:config -r osx-x64 /p:Version=$env:APPVEYOR_BUILD_VERSION
|
|
|
|
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-win_x64.zip $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\win-x64\publish\
|
|
|
|
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\linux-x64\publish\
|
|
|
|
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar.gz ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar
|
|
|
|
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-osx_x64.zip $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\osx-x64\publish\
|
|
|
|
artifacts:
|
|
- path: ryujinx%config_name%%APPVEYOR_BUILD_VERSION%-win_x64.zip
|
|
- path: ryujinx%config_name%%APPVEYOR_BUILD_VERSION%-linux_x64.tar.gz
|
|
- path: ryujinx%config_name%%APPVEYOR_BUILD_VERSION%-osx_x64.zip
|