8000 Drop .NET 5 + Core 2.1 targets that have reached end-of-life by atifaziz · Pull Request #842 · morelinq/MoreLINQ · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Drop .NET 5 + Core 2.1 targets that have reached end-of-life #842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MoreLinq.Test/MoreLinq.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<AssemblyTitle>MoreLinq.Test</AssemblyTitle>
<TargetFrameworks>net5.0;netcoreapp3.1;netcoreapp2.1;net451</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net451</TargetFrameworks>
<DebugType>portable</DebugType>
<AssemblyName>MoreLinq.Test</AssemblyName>
<OutputType>Exe</OutputType>
Expand Down Expand Up @@ -41,7 +41,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp2.1' And '$(TargetFramework)' != 'net451'">
<ItemGroup Condition="'$(TargetFramework)' != 'net451'">
<PackageReference Include="System.Linq.Async" Version="5.0.0" />
<Compile Include="Async\*.cs" />
</ItemGroup>
Expand Down
4 changes: 1 addition & 3 deletions appveyor.yml
F57E
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ install:
- git reset --hard
- ps: if ($isWindows) { tools\dotnet-install.ps1 -JSonFile global.json }
- ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 3.1.10 -SkipNonVersionedFiles }
- ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 2.1.23 -SkipNonVersionedFiles }
- sh: ./tools/dotnet-install.sh --jsonfile global.json
- sh: ./tools/dotnet-install.sh --runtime dotnet --version 3.1.10 --skip-non-versioned-files
- sh: ./tools/dotnet-install.sh --runtime dotnet --version 2.1.23 --skip-non-versioned-files
- sh: export PATH="~/.dotnet:$PATH"
before_build:
- dotnet --info
Expand All @@ -84,7 +82,7 @@ build_script:
test_script:
- cmd: test.cmd
- sh: ./test.sh
- ps: dotnet reportgenerator -reports:MoreLinq.Test/coverage.net5.0.opencover.xml -targetdir:tmp/cover -tag:(git show -q --pretty=%H)
- ps: dotnet reportgenerator -reports:MoreLinq.Test/coverage.netcoreapp3.1.opencover.xml -targetdir:tmp/cover -tag:(git show -q --pretty=%H)
- ps: |
cd tmp/cover
tar -cz -f "../../coverage-report-${IMAGE_NAME}.tar.gz" *
Expand Down
4 changes: 0 additions & 4 deletions test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ goto :EOF
:main
setlocal
call build ^
&& call :test net5.0 Debug ^
&& call :test net5.0 Debug ^
&& call :test netcoreapp2.1 Debug ^
&& call :test netcoreapp2.1 Release ^
&& call :test netcoreapp3.1 Debug ^
&& call :test netcoreapp3.1 Release ^
&& call :test net451 Debug ^
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ -z "$1" ]]; then
else
configs="$1"
fi
for f in netcoreapp2.1 netcoreapp3.1 net5.0; do
for f in netcoreapp3.1; do
for c in $configs; do
if [[ "$c" == "Debug" ]]; then
coverage_args="-p:CollectCoverage=true
Expand Down
0