Browse Source
Merge branch 'master' into wrapmemory-size-guards
pull/1554/head
James Jackson-South
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
32 additions and
6 deletions
-
.github/workflows/build-and-test.yml
-
shared-infrastructure
-
src/ImageSharp/ImageSharp.csproj
-
tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj
-
tests/ImageSharp.Tests.ProfilingSandbox/ImageSharp.Tests.ProfilingSandbox.csproj
-
tests/ImageSharp.Tests/ImageSharp.Tests.csproj
|
|
|
@ -14,6 +14,18 @@ jobs: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
options: |
|
|
|
- os: ubuntu-latest |
|
|
|
framework: net5.0 |
|
|
|
runtime: -x64 |
|
|
|
codecov: false |
|
|
|
- os: macos-latest |
|
|
|
framework: net5.0 |
|
|
|
runtime: -x64 |
|
|
|
codecov: false |
|
|
|
- os: windows-latest |
|
|
|
framework: net5.0 |
|
|
|
runtime: -x64 |
|
|
|
codecov: false |
|
|
|
- os: ubuntu-latest |
|
|
|
framework: netcoreapp3.1 |
|
|
|
runtime: -x64 |
|
|
|
@ -67,12 +79,14 @@ jobs: |
|
|
|
- name: Build |
|
|
|
shell: pwsh |
|
|
|
run: ./ci-build.ps1 "${{matrix.options.framework}}" |
|
|
|
env: |
|
|
|
SIXLABORS_TESTING: True |
|
|
|
|
|
|
|
- name: Test |
|
|
|
shell: pwsh |
|
|
|
run: ./ci-test.ps1 "${{matrix.options.os}}" "${{matrix.options.framework}}" "${{matrix.options.runtime}}" "${{matrix.options.codecov}}" |
|
|
|
env: |
|
|
|
CI: True |
|
|
|
SIXLABORS_TESTING: True |
|
|
|
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit |
|
|
|
|
|
|
|
- name: Export Failed Output |
|
|
|
|
|
|
|
@ -1 +1 @@ |
|
|
|
Subproject commit b7b9a2755e456a96acbf103494228226d92eddf3 |
|
|
|
Subproject commit af824b8bad7307b735662e3eeab39d401c41741c |
|
|
|
@ -12,9 +12,21 @@ |
|
|
|
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl> |
|
|
|
<PackageTags>Image Resize Crop Gif Jpg Jpeg Bitmap Png Tga NetCore</PackageTags> |
|
|
|
<Description>A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET</Description> |
|
|
|
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;netstandard2.1;netstandard2.0;netstandard1.3;net472</TargetFrameworks> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<Choose> |
|
|
|
<When Condition="$(SIXLABORS_TESTING) == true"> |
|
|
|
<PropertyGroup> |
|
|
|
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1;netstandard2.1;netstandard2.0;netstandard1.3;net472</TargetFrameworks> |
|
|
|
</PropertyGroup> |
|
|
|
</When> |
|
|
|
<Otherwise> |
|
|
|
<PropertyGroup> |
|
|
|
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;netstandard2.1;netstandard2.0;netstandard1.3;net472</TargetFrameworks> |
|
|
|
</PropertyGroup> |
|
|
|
</Otherwise> |
|
|
|
</Choose> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<None Include="..\..\shared-infrastructure\branding\icons\imagesharp\sixlabors.imagesharp.128.png" Pack="true" PackagePath="" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
<AssemblyName>ImageSharp.Benchmarks</AssemblyName> |
|
|
|
<OutputType>Exe</OutputType> |
|
|
|
<RootNamespace>SixLabors.ImageSharp.Benchmarks</RootNamespace> |
|
|
|
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net472</TargetFrameworks> |
|
|
|
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1;net472</TargetFrameworks> |
|
|
|
<GenerateProgramFile>false</GenerateProgramFile> |
|
|
|
<!--Used to hide test project from dotnet test--> |
|
|
|
<IsTestProject>false</IsTestProject> |
|
|
|
|
|
|
|
@ -8,7 +8,7 @@ |
|
|
|
<Prefer32Bit>false</Prefer32Bit> |
|
|
|
<RootNamespace>SixLabors.ImageSharp.Tests.ProfilingSandbox</RootNamespace> |
|
|
|
<RuntimeIdentifier>win7-x64</RuntimeIdentifier> |
|
|
|
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net472</TargetFrameworks> |
|
|
|
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1;net472</TargetFrameworks> |
|
|
|
<StartupObject>SixLabors.ImageSharp.Tests.ProfilingSandbox.Program</StartupObject> |
|
|
|
<!--Used to hide test project from dotnet test--> |
|
|
|
<IsTestProject>false</IsTestProject> |
|
|
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
<Project Sdk="Microsoft.NET.Sdk"> |
|
|
|
|
|
|
|
<PropertyGroup> |
|
|
|
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net472</TargetFrameworks> |
|
|
|
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1;net472</TargetFrameworks> |
|
|
|
<DebugSymbols>True</DebugSymbols> |
|
|
|
<AssemblyName>SixLabors.ImageSharp.Tests</AssemblyName> |
|
|
|
<Platforms>AnyCPU;x64;x86</Platforms> |
|
|
|
|