Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik Rajasekaran <karajas@microsoft.com>2016-10-25 01:10:40 +0300
committerKarthik Rajasekaran <karajas@microsoft.com>2016-12-12 22:05:34 +0300
commit1fd0ce0834978d4a1ffe52b9a2c0b0fdb52ec475 (patch)
treee7f152e56b691d76505d02d730669e45903f98dc /config.json
parent00f504792ad0f929e9beeb08844755df6b8cb9bc (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 'config.json')
-rw-r--r--config.json11
1 files changed, 8 insertions, 3 deletions
diff --git a/config.json b/config.json
index 4fa08d5f6d..e3e3bc16da 100644
--- a/config.json
+++ b/config.json
@@ -210,6 +210,12 @@
"values": [],
"defaultValue": ""
},
+ "RestoreForTestsAgainstPackagesOnly": {
+ "description": "MsBuild target that restores the packages.",
+ "valueType": "property",
+ "values": ["true", "false"],
+ "defaultValue": "true"
+ },
"GenerateVersionHeader": {
"description": "MsBuild target that generates the version header.",
"valueType": "target",
@@ -403,7 +409,6 @@
}
},
"defaultValues": {
- "defaultAlias": "b",
"toolName": "msbuild",
"settings": {
"MsBuildLogging":"/flp:v=normal;LogFile=clean.log"
@@ -471,7 +476,7 @@
}
},
"t": {
- "description": "Generates project.jsons for test projects, restores packages, builds product and then builds tests against the generated project.json files.",
+ "description": "Generates project.jsons for test projects, restores packages.",
"settings": {
"RestoreDuringBuild": true,
"BuildTestsAgainstPackages": true,
@@ -517,7 +522,7 @@
}
},
"defaultValues": {
- "defaultAlias": "p",
+ "defaultAlias": "p",
"toolName": "msbuild",
"settings": {
"MsBuildLogging":"/flp:v=normal;LogFile=sync.log"