File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 18
18
includeArtifacts : true
19
19
- pwsh : ./build.ps1 -target Artifacts-Test -DockerDistro $(DISTRO) -DockerDotnetVersion $(DOTNET_VERSION)
20
20
displayName : ' [Docker Test Artifacts]'
21
+ - job : Artifacts_Test_MsBuild
22
+ displayName : Artifacts Test MsBuild (Windows)
23
+ pool :
24
+ vmImage : windows-latest
25
+ steps :
26
+ - template : common-steps.yml
27
+ parameters :
28
+ includeArtifacts : true
29
+ - pwsh : ./build.ps1 -target Artifacts-MsBuildFull-Test
30
+ displayName : ' [MsBuild Test Artifacts]'
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
+ - ' fix/*'
8
+ - ' feature/*'
9
+
7
10
pull_request :
8
11
branches :
9
12
- master
@@ -125,9 +128,39 @@ jobs:
125
128
shell : pwsh
126
129
run : ./build.ps1 -target Artifacts-Test -DockerDistro ${{ matrix.distro }} -DockerDotnetVersion ${{ matrix.targetFramework }}
127
130
131
+ artifact_msbuild_test :
132
+ name : Artifacts MsBuild Test
133
+ needs : [build, test]
134
+ runs-on : windows-latest
135
+ steps :
136
+ - uses : actions/checkout@v2
137
+ - name : Fetch all history for all tags and branches
138
+ run : |
139
+ git fetch --prune --unshallow
140
+ - name : Cache tools
141
+ id : cache-tools
142
+ uses : actions/cache@v1
143
+ with :
144
+ path : tools
145
+ key : ${{ runner.os }}-tools-${{ hashFiles('build.cake') }}
146
+ - name : Cache dotnet
147
+ id : cache-dotnet
148
+ uses : actions/cache@v1
149
+ with :
150
+ path : .dotnet
151
+ key : ${{ runner.os }}-dotnet-${{ hashFiles('build.config') }}
152
+ - uses : actions/download-artifact@v1
153
+ name : Download artifacts folder
154
+ with :
155
+ name : storage
156
+ path : ${{ github.workspace }}/artifacts
157
+ - name : ' [MsBuild Test Artifacts]'
158
+ shell : pwsh
159
+ run : ./build.ps1 -target Artifacts-MsBuildFull-Test
160
+
128
161
docker :
129
162
name : Docker
130
- needs : [artifact_test]
163
+ needs : [artifact_test, artifact_msbuild_test ]
131
164
runs-on : ubuntu-latest
132
165
env :
133
166
DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
You can’t perform that action at this time.
0 commit comments