Skip to content

Commit 7ea3fce

Browse files
committed
Add CI check and daily builds for Legacy 2012 R2 ~= Windows 8.1 Blue; fix Modern test param to be -win10
1 parent 98cbeff commit 7ea3fce

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

netci.groovy

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ def machineTypeToOSTagMap = [
2727

2828
def defaultMachineTag = 'latest-or-auto'
2929

30-
def legacyWindowsMachine = 'Windows 7'
31-
def legacyWindowsMachineTag = defaultMachineTag
30+
def legacyWindows7Machine = 'Windows 7'
31+
def legacyWindows7MachineTag = defaultMachineTag
32+
33+
def legacyWindows8Machine = 'Windows_NT'
34+
def legacyWindows8MachineTag = defaultMachineTag
3235

3336
def latestWindowsMachine = 'windows.10.amd64.clientrs4.devex.open' // Windows 10 RS4 with Dev 15.7
3437
def latestWindowsMachineTag = null // all information is included in the machine name above
@@ -237,45 +240,56 @@ def CreateStyleCheckTasks = { taskString, taskName, checkName ->
237240
// INNER LOOP TASKS
238241
// ----------------
239242

240-
CreateBuildTasks(latestWindowsMachine, latestWindowsMachineTag, null, null, "-winBlue", true, null, null)
243+
CreateBuildTasks(latestWindowsMachine, latestWindowsMachineTag, null, null, "-win10", true, null, null)
241244

242245
// Add some additional daily configs to trigger per-PR as a quality gate:
243246
// x64_debug Slow Tests
244247
CreateBuildTask(true, 'x64', 'debug',
245-
latestWindowsMachine, latestWindowsMachineTag, 'ci_slow', null, '-winBlue -includeSlow', false, null, null)
248+
latestWindowsMachine, latestWindowsMachineTag, 'ci_slow', null, '-win10 -includeSlow', false, null, null)
246249
// x64_debug DisableJIT
247250
CreateBuildTask(true, 'x64', 'debug',
248-
latestWindowsMachine, latestWindowsMachineTag, 'ci_disablejit', '"/p:BuildJIT=false"', '-winBlue -disablejit', false, null, null)
251+
latestWindowsMachine, latestWindowsMachineTag, 'ci_disablejit', '"/p:BuildJIT=false"', '-win10 -disablejit', false, null, null)
249252
// x64_debug Lite
250253
CreateBuildTask(true, 'x64', 'debug',
251-
latestWindowsMachine, latestWindowsMachineTag, 'ci_lite', '"/p:BuildLite=true"', '-winBlue -lite', false, null, null)
252-
// x64_debug Legacy
254+
latestWindowsMachine, latestWindowsMachineTag, 'ci_lite', '"/p:BuildLite=true"', '-win10 -lite', false, null, null)
255+
// x64_debug Legacy (Windows 7)
256+
CreateBuildTask(true, 'x64', 'debug',
257+
legacyWindows7Machine, legacyWindows7MachineTag, 'ci_legacy7', 'msbuild14', '-win7 -includeSlow', false, null, null)
258+
// x64_debug Legacy (Windows 8.1 (Blue))
253259
CreateBuildTask(true, 'x64', 'debug',
254-
legacyWindowsMachine, legacyWindowsMachineTag, 'ci_legacy', 'msbuild14', '-win7 -includeSlow', false, null, null)
260+
legacyWindows8Machine, legacyWindows8MachineTag, 'ci_legacy8', 'msbuild14', '-winBlue -includeSlow', false, null, null)
255261

256262
// -----------------
257263
// DAILY BUILD TASKS
258264
// -----------------
259265

260266
if (!branch.endsWith('-ci')) {
261267
// build and test on the legacy configuration (Windows 7 + VS 2015 (Dev14))
262-
CreateBuildTasks(legacyWindowsMachine, legacyWindowsMachineTag, 'daily_legacy', 'msbuild14', '-win7 -includeSlow', false,
268+
CreateBuildTasks(legacyWindows7Machine, legacyWindows7MachineTag, 'daily_legacy7', 'msbuild14', '-win7 -includeSlow', false,
263269
/* excludeConfigIf */ { isPR, buildArch, buildType -> (buildArch == 'arm') },
264270
/* nonDefaultTaskSetup */ { newJob, isPR, config ->
265271
DailyBuildTaskSetup(newJob, isPR,
266272
"Windows 7 ${config}",
267273
'legacy\\s+tests')})
268274

275+
// build and test on the legacy configuration (Windows 8.1 (Blue) + VS 2015 (Dev14))
276+
CreateBuildTasks(legacyWindows8Machine, legacyWindows8MachineTag, 'daily_legacy8', 'msbuild14', '-winBlue -includeSlow', false,
277+
/* excludeConfigIf */ { isPR, buildArch, buildType -> (buildArch == 'arm') },
278+
/* nonDefaultTaskSetup */ { newJob, isPR, config ->
279+
DailyBuildTaskSetup(newJob, isPR,
280+
"Windows 8 ${config}",
281+
'legacy\\s+tests')})
282+
269283
// build and test on the latest configuration (RS4 + VS 2017 Dev 15.7) with -includeSlow
270-
CreateBuildTasks(latestWindowsMachine, latestWindowsMachineTag, 'daily_slow', null, '-winBlue -includeSlow', false,
284+
CreateBuildTasks(latestWindowsMachine, latestWindowsMachineTag, 'daily_slow', null, '-win10 -includeSlow', false,
271285
/* excludeConfigIf */ null,
272286
/* nonDefaultTaskSetup */ { newJob, isPR, config ->
273287
DailyBuildTaskSetup(newJob, isPR,
274288
"Windows ${config}",
275289
'slow\\s+tests')})
276290

277291
// build and test on the latest configuration (RS4 + VS 2017 Dev 15.7) with JIT disabled
278-
CreateBuildTasks(latestWindowsMachine, latestWindowsMachineTag, 'daily_disablejit', '"/p:BuildJIT=false"', '-winBlue -disablejit', true,
292+
CreateBuildTasks(latestWindowsMachine, latestWindowsMachineTag, 'daily_disablejit', '"/p:BuildJIT=false"', '-win10 -disablejit', true,
279293
/* excludeConfigIf */ null,
280294
/* nonDefaultTaskSetup */ { newJob, isPR, config ->
281295
DailyBuildTaskSetup(newJob, isPR,

0 commit comments

Comments
 (0)