Browse Source
Merge pull request #1377 from SixLabors/js/remote-executor-workaround
Use Ubuntu for Code Coverage.
js/color-alpha-handling
James Jackson-South
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
22 additions and
12 deletions
-
.github/workflows/build-and-test.yml
-
Directory.Build.props
-
src/Directory.Build.targets
-
tests/Directory.Build.targets
|
|
@ -17,11 +17,11 @@ jobs: |
|
|
- os: ubuntu-latest |
|
|
- os: ubuntu-latest |
|
|
framework: netcoreapp3.1 |
|
|
framework: netcoreapp3.1 |
|
|
runtime: -x64 |
|
|
runtime: -x64 |
|
|
codecov: false |
|
|
codecov: true |
|
|
- os: windows-latest |
|
|
- os: windows-latest |
|
|
framework: netcoreapp3.1 |
|
|
framework: netcoreapp3.1 |
|
|
runtime: -x64 |
|
|
runtime: -x64 |
|
|
codecov: true |
|
|
codecov: false |
|
|
- os: windows-latest |
|
|
- os: windows-latest |
|
|
framework: netcoreapp2.1 |
|
|
framework: netcoreapp2.1 |
|
|
runtime: -x64 |
|
|
runtime: -x64 |
|
|
|
|
|
@ -120,6 +120,7 @@ |
|
|
https://api.nuget.org/v3/index.json; |
|
|
https://api.nuget.org/v3/index.json; |
|
|
<!-- Contains RemoteExecutor. Taken from: https://github.com/dotnet/runtime/blob/master/NuGet.config --> |
|
|
<!-- Contains RemoteExecutor. Taken from: https://github.com/dotnet/runtime/blob/master/NuGet.config --> |
|
|
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json; |
|
|
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json; |
|
|
|
|
|
https://www.myget.org/F/coverlet-dev/api/v3/index.json; |
|
|
</RestoreSources> |
|
|
</RestoreSources> |
|
|
<SignAssembly>true</SignAssembly> |
|
|
<SignAssembly>true</SignAssembly> |
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)shared-infrastructure/SixLabors.snk</AssemblyOriginatorKeyFile> |
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)shared-infrastructure/SixLabors.snk</AssemblyOriginatorKeyFile> |
|
|
|
|
|
@ -21,11 +21,20 @@ |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
<!-- Workaround for running Coverlet with Determenistic builds --> |
|
|
<!-- Workaround for running Coverlet with Determenistic builds --> |
|
|
<!-- https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/DeterministicBuild.md --> |
|
|
<PropertyGroup> |
|
|
|
|
|
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath> |
|
|
|
|
|
</PropertyGroup> |
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/> |
|
|
|
|
|
</ItemGroup> |
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
<SourceRoot Include="$(NuGetPackageRoot)" /> |
|
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
<Target Name="CoverletGetPathMap" |
|
|
<Target Name="CoverletGetPathMap" |
|
|
DependsOnTargets="InitializeSourceRootMappedPaths" |
|
|
DependsOnTargets="InitializeSourceRootMappedPaths" |
|
|
Returns="@(_LocalTopLevelSourceRoot)" |
|
|
Returns="@(_LocalTopLevelSourceRoot)" |
|
|
Condition="'$(DeterministicSourcePaths)' == 'true'"> |
|
|
Condition="'$(DeterministicSourcePaths)' == 'true'"> |
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<_LocalTopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/> |
|
|
<_LocalTopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
|
|
|
@ -28,10 +28,10 @@ |
|
|
<PackageReference Update="BenchmarkDotNet" Version="0.12.1" /> |
|
|
<PackageReference Update="BenchmarkDotNet" Version="0.12.1" /> |
|
|
<PackageReference Update="BenchmarkDotNet.Diagnostics.Windows" Version="0.12.1" Condition="'$(OS)' == 'Windows_NT'" /> |
|
|
<PackageReference Update="BenchmarkDotNet.Diagnostics.Windows" Version="0.12.1" Condition="'$(OS)' == 'Windows_NT'" /> |
|
|
<PackageReference Update="Colourful" Version="2.0.5" /> |
|
|
<PackageReference Update="Colourful" Version="2.0.5" /> |
|
|
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All"/> |
|
|
<PackageReference Update="coverlet.collector" Version="1.3.1-preview.27.gdd2237a3be" PrivateAssets="All"/> |
|
|
<PackageReference Update="Magick.NET-Q16-AnyCPU" Version="7.15.5" /> |
|
|
<PackageReference Update="Magick.NET-Q16-AnyCPU" Version="7.15.5" /> |
|
|
<PackageReference Update="Microsoft.DotNet.RemoteExecutor" Version="5.0.0-beta.20069.1" /> |
|
|
<PackageReference Update="Microsoft.DotNet.RemoteExecutor" Version="5.0.0-beta.20069.1" /> |
|
|
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.5.0-preview-20200116-01" /> |
|
|
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.5.0" /> |
|
|
<PackageReference Update="Moq" Version="4.14.5" /> |
|
|
<PackageReference Update="Moq" Version="4.14.5" /> |
|
|
<PackageReference Update="Pfim" Version="0.9.1" /> |
|
|
<PackageReference Update="Pfim" Version="0.9.1" /> |
|
|
<PackageReference Update="SharpZipLib" Version="1.2.0" /> |
|
|
<PackageReference Update="SharpZipLib" Version="1.2.0" /> |
|
|
|