File tree Expand file tree Collapse file tree 4 files changed +2
-53
lines changed
src/Castle.Core.AsyncInterceptor
test/Castle.Core.AsyncInterceptor.Tests Expand file tree Collapse file tree 4 files changed +2
-53
lines changed Original file line number Diff line number Diff line change 3232 - store_test_results :
3333 path : ./test/TestResults/output/
3434
35- # The --no-restore parameter was added in .NET Core 2, so add a dedicated job for building .NET Core 1.1
36- run-build-1-1 :
37- parameters :
38- build-config :
39- description : The build configuration, either Debug or Release.
40- type : string
41- executor :
42- name : dotnet-build-executor
43- tag : " 1.1"
44- steps :
45- - checkout
46- - run :
47- name : Restore
48- command : dotnet restore
49- - run :
50- name : Build
51- command : dotnet build -f netcoreapp1.1 -c << parameters.build-config >> ./test/Castle.Core.AsyncInterceptor.Tests/Castle.Core.AsyncInterceptor.Tests.csproj
52- - run :
53- name : Test
54- command : dotnet test --no-build -f netcoreapp1.1 -c << parameters.build-config >> ./test/Castle.Core.AsyncInterceptor.Tests/Castle.Core.AsyncInterceptor.Tests.csproj
55-
5635 executors :
5736
5837 dotnet-build-executor :
@@ -69,12 +48,6 @@ workflows:
6948 jobs :
7049 - shellcheck/check :
7150 name : shellcheck
72- - build/run-build-1-1 :
73- name : 1.1 Debug Build
74- build-config : Debug
75- - build/run-build-1-1 :
76- name : 1.1 Release Build
77- build-config : Release
7851 - build/run-build :
7952 name : 2.1 Debug Build
8053 image-tag : " 2.1"
Original file line number Diff line number Diff line change @@ -10,30 +10,6 @@ RUN find . -type f -name '*.sh' -exec dos2unix {} \;
1010# Run shell check on all the shell files.
1111RUN find . -type f -name '*.sh' | wc -l && find . -type f -name '*.sh' | xargs shellcheck --external-sources
1212
13- # #######################################################################################################################
14- # .NET Core 1.1
15- FROM mcr.microsoft.com/dotnet/core/sdk:1.1
16-
17- ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
18-
19- WORKDIR /work
20-
21- # Copy just the solution and proj files to make best use of docker image caching.
22- COPY ./castle.core.asyncinterceptor.sln .
23- COPY ./src/Castle.Core.AsyncInterceptor/Castle.Core.AsyncInterceptor.csproj ./src/Castle.Core.AsyncInterceptor/Castle.Core.AsyncInterceptor.csproj
24- COPY ./test/Castle.Core.AsyncInterceptor.Tests/Castle.Core.AsyncInterceptor.Tests.csproj ./test/Castle.Core.AsyncInterceptor.Tests/Castle.Core.AsyncInterceptor.Tests.csproj
25-
26- # Run restore on just the project files, this should cache the image after restore.
27- RUN dotnet restore
28-
29- COPY . .
30-
31- # Build to ensure the tests are their own distinct step
32- RUN dotnet build -f netcoreapp1.1 -c Debug ./test/Castle.Core.AsyncInterceptor.Tests/Castle.Core.AsyncInterceptor.Tests.csproj
33-
34- # Run unit tests
35- RUN dotnet test --no-build -f netcoreapp1.1 -c Debug ./test/Castle.Core.AsyncInterceptor.Tests/Castle.Core.AsyncInterceptor.Tests.csproj
36-
3713# #######################################################################################################################
3814# .NET Core 2.1
3915FROM mcr.microsoft.com/dotnet/core/sdk:2.1-alpine
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net45;netstandard1.4; netstandard2.0</TargetFrameworks >
4+ <TargetFrameworks >net45;netstandard2.0</TargetFrameworks >
55 <RootNamespace >Castle.DynamicProxy</RootNamespace >
66 <LangVersion >latest</LangVersion >
77 <GenerateDocumentationFile >true</GenerateDocumentationFile >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net472;netcoreapp1.1; netcoreapp2.1</TargetFrameworks >
4+ <TargetFrameworks >net472;netcoreapp2.1</TargetFrameworks >
55 <LangVersion >latest</LangVersion >
66 <RootNamespace >Castle.DynamicProxy</RootNamespace >
77 <IsPackable >false</IsPackable >
You can’t perform that action at this time.
0 commit comments