Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
02cccd6e
Unverified
Commit
02cccd6e
authored
Apr 09, 2021
by
James Lamb
Committed by
GitHub
Apr 09, 2021
Browse files
[ci] upgrade R to 4.0.5 in CI (#4158)
* [ci] upgrade R to 4.0.5 * get R 4.0.5 from focal repo
parent
36454a3b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
.ci/test_r_package.sh
.ci/test_r_package.sh
+3
-3
.ci/test_r_package_windows.ps1
.ci/test_r_package_windows.ps1
+1
-1
No files found.
.ci/test_r_package.sh
View file @
02cccd6e
...
@@ -33,9 +33,9 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
...
@@ -33,9 +33,9 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
export
R_LINUX_VERSION
=
"3.6.3-1bionic"
export
R_LINUX_VERSION
=
"3.6.3-1bionic"
export
R_APT_REPO
=
"bionic-cran35/"
export
R_APT_REPO
=
"bionic-cran35/"
elif
[[
"
${
R_MAJOR_VERSION
}
"
==
"4"
]]
;
then
elif
[[
"
${
R_MAJOR_VERSION
}
"
==
"4"
]]
;
then
export
R_MAC_VERSION
=
4.0.
4
export
R_MAC_VERSION
=
4.0.
5
export
R_LINUX_VERSION
=
"4.0.
4
-1.
18
04.0"
export
R_LINUX_VERSION
=
"4.0.
5
-1.
20
04.0"
export
R_APT_REPO
=
"
bionic
-cran40/"
export
R_APT_REPO
=
"
focal
-cran40/"
else
else
echo
"Unrecognized R version:
${
R_VERSION
}
"
echo
"Unrecognized R version:
${
R_VERSION
}
"
exit
-1
exit
-1
...
...
.ci/test_r_package_windows.ps1
View file @
02cccd6e
...
@@ -66,7 +66,7 @@ if ($env:R_MAJOR_VERSION -eq "3") {
...
@@ -66,7 +66,7 @@ if ($env:R_MAJOR_VERSION -eq "3") {
$
env
:
RTOOLS_BIN
=
"
$RTOOLS_INSTALL_PATH
\usr\bin"
$
env
:
RTOOLS_BIN
=
"
$RTOOLS_INSTALL_PATH
\usr\bin"
$
env
:
RTOOLS_MINGW_BIN
=
"
$RTOOLS_INSTALL_PATH
\mingw64\bin"
$
env
:
RTOOLS_MINGW_BIN
=
"
$RTOOLS_INSTALL_PATH
\mingw64\bin"
$
env
:
RTOOLS_EXE_FILE
=
"rtools40-x86_64.exe"
$
env
:
RTOOLS_EXE_FILE
=
"rtools40-x86_64.exe"
$
env
:
R_WINDOWS_VERSION
=
"4.0.
4
"
$
env
:
R_WINDOWS_VERSION
=
"4.0.
5
"
}
else
{
}
else
{
Write-Output
"[ERROR] Unrecognized R version:
$
env
:
R_VERSION
"
Write-Output
"[ERROR] Unrecognized R version:
$
env
:
R_VERSION
"
Check-Output
$false
Check-Output
$false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment