Skip to content

Commit e706bec

Browse files
authored
[ci] avoid VS warning for R builds (#3162)
1 parent f30e0bb commit e706bec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/test_r_package_windows.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ if ($env:COMPILER -ne "MSVC") {
121121
Check-Output $False
122122
}
123123
} else {
124+
$env:TMPDIR = $env:USERPROFILE # to avoid warnings about incremental builds inside a temp directory
124125
$INSTALL_LOG_FILE_NAME = "$env:BUILD_SOURCESDIRECTORY\00install_out.txt"
125126
Rscript build_r.R *> $INSTALL_LOG_FILE_NAME ; $install_succeeded = $?
126127
Write-Output "----- build and install logs -----"

0 commit comments

Comments
 (0)