diff options
author | Karthik Rajasekaran <karajas@microsoft.com> | 2016-10-25 01:10:40 +0300 |
---|---|---|
committer | Karthik Rajasekaran <karajas@microsoft.com> | 2016-12-12 22:05:34 +0300 |
commit | 1fd0ce0834978d4a1ffe52b9a2c0b0fdb52ec475 (patch) | |
tree | e7f152e56b691d76505d02d730669e45903f98dc /dir.targets | |
parent | 00f504792ad0f929e9beeb08844755df6b8cb9bc (diff) |
Enable build tests against packages as the default testing scenario
Currently we build and test in CI differently from the official pipeline. This change will help reduce inconsistencies in the way in which we build to expose issues sooner.
The build will now build the product as packages, install them locally, restore the test-runtime deps for the locally built versions and then test them. The locally built
packages are installed to the localpackages folder and the LKG set restored goes into the packages folder. Tests will only restore against locally built packages as a
source and then copy the required LKG dependencies like specific runtime dependencies that aren't built locally. The localpackages are overwritten each time a build occurs so that only one version remains in the folder.
Other changes required to make this work:
- Add missing runtimes in the supports clause
- Add LKG runtime packages not produced by the build
Diffstat (limited to 'dir.targets')
-rw-r--r-- | dir.targets | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.targets b/dir.targets index 5347839f31..ff54f9de8c 100644 --- a/dir.targets +++ b/dir.targets @@ -13,7 +13,7 @@ <Target Name="RebuildAndTest" DependsOnTargets="Rebuild;Test" /> <Target Name="Test" /> - <!-- Targets will be overridden if buildagainstpackages.targets is imported. --> + <!-- Targets will be always be imported from buildagainstpackages.targets unless $(SkipBuildAgainstPackages) is specified--> <Target Name="GenerateTestProjectJson" /> <Target Name="GenerateAllTestProjectJsons" /> |