mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
OS-specific builds in AppVeyor
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
|
||||||
|
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
|
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
|
||||||
|
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
122
appveyor.yml
122
appveyor.yml
@@ -21,20 +21,75 @@ before_build:
|
|||||||
- nuget restore
|
- nuget restore
|
||||||
|
|
||||||
# build step
|
# build step
|
||||||
build:
|
build_script:
|
||||||
verbosity: minimal
|
- cmd: dotnet restore
|
||||||
|
|
||||||
|
# SabreTools, .NET 6.0
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net6.0 --runtime win-x86 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net6.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net6.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net6.0 --runtime osx-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
|
||||||
|
# SabreTools, .NET 7.0
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net7.0 --runtime win-x86 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net7.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net7.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish SabreTools\SabreTools.csproj --framework net7.0 --runtime osx-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
|
||||||
|
# RombaSharp, .NET 6.0
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net6.0 --runtime win-x86 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net6.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net6.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net6.0 --runtime osx-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
|
||||||
|
# RombaSharp, .NET 7.0
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net7.0 --runtime win-x86 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net7.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net7.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
- cmd: dotnet publish RombaSharp\RombaSharp.csproj --framework net7.0 --runtime osx-x64 --self-contained true -p:PublishSingleFile=true
|
||||||
|
|
||||||
# post-build step
|
# post-build step
|
||||||
after_build:
|
after_build:
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net6.0
|
|
||||||
- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net6.0.zip *
|
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net7.0
|
|
||||||
- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net7.0.zip *
|
|
||||||
|
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net6.0
|
# SabreTools, .NET 6.0
|
||||||
- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net6.0.zip *
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net6.0\win-x86\publish\
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net7.0
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net6.0_win-x86.zip *
|
||||||
- 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net7.0.zip *
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net6.0\win-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net6.0_win-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net6.0\linux-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net6.0_linux-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net6.0\osx-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net6.0_osx-x64.zip *
|
||||||
|
|
||||||
|
# SabreTools, .NET 7.0
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net7.0\win-x86\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net7.0_win-x86.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net7.0\win-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net7.0_win-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net7.0\linux-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net7.0_linux-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\SabreTools\bin\Debug\net7.0\osx-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\SabreTools_net7.0_osx-x64.zip *
|
||||||
|
|
||||||
|
# RombaSharp, .NET 6.0
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net6.0\win-x86\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net6.0_win-x86.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net6.0\win-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net6.0_win-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net6.0\linux-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net6.0_linux-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net6.0\osx-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net6.0_osx-x64.zip *
|
||||||
|
|
||||||
|
# RombaSharp, .NET 7.0
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net7.0\win-x86\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net7.0_win-x86.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net7.0\win-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net7.0_win-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net7.0\linux-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net7.0_linux-x64.zip *
|
||||||
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%\RombaSharp\bin\Debug\net7.0\osx-x64\publish\
|
||||||
|
- cmd: 7z a -tzip %APPVEYOR_BUILD_FOLDER%\RombaSharp_net7.0_osx-x64.zip *
|
||||||
|
|
||||||
# testing step
|
# testing step
|
||||||
test:
|
test:
|
||||||
@@ -51,12 +106,43 @@ on_failure:
|
|||||||
|
|
||||||
# artifact linking
|
# artifact linking
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: SabreTools_net6.0.zip
|
|
||||||
name: SabreTools (.NET 6.0)
|
|
||||||
- path: SabreTools_net7.0.zip
|
|
||||||
name: SabreTools (.NET 7.0)
|
|
||||||
|
|
||||||
- path: RombaSharp_net6.0.zip
|
# SabreTools, .NET 6.0
|
||||||
name: RombaSharp (.NET 6.0)
|
- path: SabreTools_net6.0_win-x86.zip
|
||||||
- path: RombaSharp_net7.0.zip
|
name: SabreTools (.NET 6.0, Windows x86)
|
||||||
name: RombaSharp (.NET 7.0)
|
- path: SabreTools_net6.0_win-x64.zip
|
||||||
|
name: SabreTools (.NET 6.0, Windows x64)
|
||||||
|
- path: SabreTools_net6.0_linux-x64.zip
|
||||||
|
name: SabreTools (.NET 6.0, Linux x64)
|
||||||
|
- path: SabreTools_net6.0_osx-x64.zip
|
||||||
|
name: SabreTools (.NET 6.0, OSX x64)
|
||||||
|
|
||||||
|
# SabreTools, .NET 7.0
|
||||||
|
- path: SabreTools_net7.0_win-x86.zip
|
||||||
|
name: SabreTools (.NET 7.0, Windows x86)
|
||||||
|
- path: SabreTools_net7.0_win-x64.zip
|
||||||
|
name: SabreTools (.NET 7.0, Windows x64)
|
||||||
|
- path: SabreTools_net7.0_linux-x64.zip
|
||||||
|
name: SabreTools (.NET 7.0, Linux x64)
|
||||||
|
- path: SabreTools_net7.0_osx-x64.zip
|
||||||
|
name: SabreTools (.NET 7.0, OSX x64)
|
||||||
|
|
||||||
|
# RombaSharp, .NET 6.0
|
||||||
|
- path: RombaSharp_net6.0_win-x86.zip
|
||||||
|
name: RombaSharp (.NET 6.0, Windows x86)
|
||||||
|
- path: RombaSharp_net6.0_win-x64.zip
|
||||||
|
name: RombaSharp (.NET 6.0, Windows x64)
|
||||||
|
- path: RombaSharp_net6.0_linux-x64.zip
|
||||||
|
name: RombaSharp (.NET 6.0, Linux x64)
|
||||||
|
- path: RombaSharp_net6.0_osx-x64.zip
|
||||||
|
name: RombaSharp (.NET 6.0, OSX x64)
|
||||||
|
|
||||||
|
# RombaSharp, .NET 7.0
|
||||||
|
- path: RombaSharp_net7.0_win-x86.zip
|
||||||
|
name: RombaSharp (.NET 7.0, Windows x86)
|
||||||
|
- path: RombaSharp_net7.0_win-x64.zip
|
||||||
|
name: RombaSharp (.NET 7.0, Windows x64)
|
||||||
|
- path: RombaSharp_net7.0_linux-x64.zip
|
||||||
|
name: RombaSharp (.NET 7.0, Linux x64)
|
||||||
|
- path: RombaSharp_net7.0_osx-x64.zip
|
||||||
|
name: RombaSharp (.NET 7.0, OSX x64)
|
||||||
Reference in New Issue
Block a user