mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
ci: build and test in parallel and then package
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
|
||||
<CurrentOsName>Windows</CurrentOsName>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
|
||||
<CurrentOsName>Linux</CurrentOsName>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
|
||||
<CurrentOsName>OSX</CurrentOsName>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" $(MSBuildProjectName.EndsWith('Tests')) ">
|
||||
<IsPackable>false</IsPackable>
|
||||
<LangVersion>latest</LangVersion>
|
||||
@@ -12,7 +24,7 @@
|
||||
|
||||
<!-- Coverage -->
|
||||
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
|
||||
<CoverletOutput>..\coverage.$(MSBuildProjectName).xml</CoverletOutput>
|
||||
<CoverletOutput>..\coverage.$(CurrentOsName).$(MSBuildProjectName).xml</CoverletOutput>
|
||||
<Include>[Squirrel*]*</Include>
|
||||
<Exclude>[Squirrel.*.Tests]*,[*]Microsoft*</Exclude>
|
||||
<CollectCoverage>true</CollectCoverage>
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net48;net8.0</TargetFrameworks>
|
||||
<PropertyGroup Condition =" '$(CurrentOsName)'=='Windows' ">
|
||||
<TargetFrameworks>net8.0;net48</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition =" '$(CurrentOsName)'=='OSX' ">
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user