@@ -102,7 +102,7 @@ jobs:
102102 publishLocation : Container
103103 condition : always()
104104
105- - job : Linux_Test
105+ - job : Integration_Linux_Tests
106106 dependsOn : Build
107107 pool :
108108 vmImage : ubuntu-16.04
@@ -179,3 +179,66 @@ jobs:
179179 projects : $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LinuxTests/LinuxTests.csproj
180180 arguments : -c $(BuildConfiguration) -f netcoreapp2.1 /p:TargetFrameworks=netcoreapp2.1
181181 displayName : Run 2.1 Tests on Linux
182+
183+ - job : Integration_WindowsDesktop_Tests
184+ dependsOn : Build
185+ pool :
186+ vmImage : windows-2019
187+
188+ variables :
189+ BuildConfiguration : Release
190+ BuildPlatform : Any CPU
191+
192+ steps :
193+ - task : DotNetCoreInstaller@0
194+ inputs :
195+ version : ' 3.0.100-preview4-010374'
196+
197+ - task : DotNetCoreCLI@2
198+ inputs :
199+ command : custom
200+ custom : tool
201+ arguments : install --tool-path . nbgv
202+ displayName : Install NBGV tool
203+
204+ - script : ./nbgv cloud -a -p Rx.NET/Source
205+ displayName : Set Version
206+
207+ - task : DownloadBuildArtifacts@0
208+ displayName : ' Download Build Artifacts'
209+ inputs :
210+ artifactName : artifacts
211+ downloadPath : $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LocalPackages
212+
213+ - powershell : mv $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LocalPackages/artifacts/*.* $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LocalPackages
214+
215+ - task : DotNetCoreCLI@2
216+ displayName : Update Rx
217+ inputs :
218+ command : custom
219+ projects : $(System.DefaultWorkingDirectory)/Rx.NET/Integration/WindowsDesktopTests/WindowsDesktopTests.csproj
220+ custom : add
221+ arguments : package System.Reactive -v $(NBGV_NuGetPackageVersion) -s $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LocalPackages
222+
223+ - task : DotNetCoreCLI@2
224+ displayName : Update Aliases
225+ inputs :
226+ command : custom
227+ projects : $(System.DefaultWorkingDirectory)/Rx.NET/Integration/WindowsDesktopTests/WindowsDesktopTests.csproj
228+ custom : add
229+ arguments : package System.Reactive.Observable.Aliases -v $(NBGV_NuGetPackageVersion) -s $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LocalPackages
230+
231+ - task : DotNetCoreCLI@2
232+ displayName : Update Testing
233+ inputs :
234+ command : custom
235+ projects : $(System.DefaultWorkingDirectory)/Rx.NET/Integration/WindowsDesktopTests/WindowsDesktopTests.csproj
236+ custom : add
237+ arguments : package Microsoft.Reactive.Testing -v $(NBGV_NuGetPackageVersion) -s $(System.DefaultWorkingDirectory)/Rx.NET/Integration/LocalPackages
238+
239+ - task : DotNetCoreCLI@2
240+ inputs :
241+ command : test
242+ projects : $(System.DefaultWorkingDirectory)/Rx.NET/Integration/WindowsDesktopTests/WindowsDesktopTests.csproj
243+ arguments : -c $(BuildConfiguration)
244+ displayName : Run 3.0 Tests on WindowDesktop
0 commit comments