@@ -152,11 +152,11 @@ function Process-Arguments() {
152
152
153
153
function Update-Arguments () {
154
154
if ($script :noVisualStudio ) {
155
- $script :bootstrapTfm = " netcoreapp3.0 "
155
+ $script :bootstrapTfm = " netcoreapp3.1 "
156
156
$script :msbuildEngine = " dotnet"
157
157
}
158
158
159
- if ($bootstrapTfm -eq " netcoreapp3.0 " ) {
159
+ if ($bootstrapTfm -eq " netcoreapp3.1 " ) {
160
160
if (-Not (Test-Path " $ArtifactsDir \Bootstrap\fsc\fsc.runtimeconfig.json" )) {
161
161
$script :bootstrap = $True
162
162
}
@@ -178,7 +178,7 @@ function BuildSolution() {
178
178
$officialBuildId = if ($official ) { $env: BUILD_BUILDNUMBER } else { " " }
179
179
$toolsetBuildProj = InitializeToolset
180
180
$quietRestore = ! $ci
181
- $testTargetFrameworks = if ($testCoreClr ) { " netcoreapp3.0 " } else { " " }
181
+ $testTargetFrameworks = if ($testCoreClr ) { " netcoreapp3.1 " } else { " " }
182
182
183
183
# Do not set the property to true explicitly, since that would override value projects might set.
184
184
$suppressExtensionDeployment = if (! $deployExtensions ) { " /p:DeployExtension=false" } else { " " }
@@ -264,7 +264,7 @@ function TestUsingNUnit([string] $testProject, [string] $targetFramework) {
264
264
}
265
265
266
266
function BuildCompiler () {
267
- if ($bootstrapTfm -eq " netcoreapp3.0 " ) {
267
+ if ($bootstrapTfm -eq " netcoreapp3.1 " ) {
268
268
$dotnetPath = InitializeDotNetCli
269
269
$dotnetExe = Join-Path $dotnetPath " dotnet.exe"
270
270
$fscProject = " $RepoRoot \src\fsharp\fsc\fsc.fsproj"
@@ -277,14 +277,14 @@ function BuildCompiler() {
277
277
$logFilePath = Join-Path $LogDir " fscBootstrapLog.binlog"
278
278
$args += " /bl:$logFilePath "
279
279
}
280
- $args = " build $fscProject -c $configuration -v $verbosity -f netcoreapp3.0 " + $argNoRestore + $argNoIncremental
280
+ $args = " build $fscProject -c $configuration -v $verbosity -f netcoreapp3.1 " + $argNoRestore + $argNoIncremental
281
281
Exec- Console $dotnetExe $args
282
282
283
283
if ($binaryLog ) {
284
284
$logFilePath = Join-Path $LogDir " fsiBootstrapLog.binlog"
285
285
$args += " /bl:$logFilePath "
286
286
}
287
- $args = " build $fsiProject -c $configuration -v $verbosity -f netcoreapp3.0 " + $argNoRestore + $argNoIncremental
287
+ $args = " build $fsiProject -c $configuration -v $verbosity -f netcoreapp3.1 " + $argNoRestore + $argNoIncremental
288
288
Exec- Console $dotnetExe $args
289
289
}
290
290
}
@@ -448,9 +448,10 @@ try {
448
448
$script :BuildCategory = " Test"
449
449
$script :BuildMessage = " Failure running tests"
450
450
$desktopTargetFramework = " net472"
451
- $coreclrTargetFramework = " netcoreapp3.0 "
451
+ $coreclrTargetFramework = " netcoreapp3.1 "
452
452
453
453
if ($testDesktop -and -not $noVisualStudio ) {
454
+ TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" - targetFramework $desktopTargetFramework
454
455
TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Compiler.UnitTests\FSharp.Compiler.UnitTests.fsproj" - targetFramework $desktopTargetFramework
455
456
TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Compiler.Private.Scripting.UnitTests\FSharp.Compiler.Private.Scripting.UnitTests.fsproj" - targetFramework $desktopTargetFramework
456
457
TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Build.UnitTests\FSharp.Build.UnitTests.fsproj" - targetFramework $desktopTargetFramework
@@ -459,6 +460,7 @@ try {
459
460
}
460
461
461
462
if ($testCoreClr ) {
463
+ TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" - targetFramework $coreclrTargetFramework
462
464
TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Compiler.UnitTests\FSharp.Compiler.UnitTests.fsproj" - targetFramework $coreclrTargetFramework
463
465
TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Compiler.Private.Scripting.UnitTests\FSharp.Compiler.Private.Scripting.UnitTests.fsproj" - targetFramework $coreclrTargetFramework
464
466
TestUsingNUnit - testProject " $RepoRoot \tests\FSharp.Build.UnitTests\FSharp.Build.UnitTests.fsproj" - targetFramework $coreclrTargetFramework
0 commit comments