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
dc4794b6
Unverified
Commit
dc4794b6
authored
Sep 15, 2022
by
James Lamb
Committed by
GitHub
Sep 15, 2022
Browse files
[ci] test against R 4.2 for macOS and Linux CI jobs (#5484)
parent
6d4d1abc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
.ci/test_r_package.sh
.ci/test_r_package.sh
+2
-2
.github/workflows/r_package.yml
.github/workflows/r_package.yml
+7
-7
No files found.
.ci/test_r_package.sh
View file @
dc4794b6
...
...
@@ -21,9 +21,9 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
export
R_LINUX_VERSION
=
"3.6.3-1bionic"
export
R_APT_REPO
=
"bionic-cran35/"
elif
[[
"
${
R_MAJOR_VERSION
}
"
==
"4"
]]
;
then
export
R_MAC_VERSION
=
4.
1.3
export
R_MAC_VERSION
=
4.
2.1
export
R_MAC_PKG_URL
=
${
CRAN_MIRROR
}
/bin/macosx/base/R-
${
R_MAC_VERSION
}
.pkg
export
R_LINUX_VERSION
=
"4.
1.3
-1.2004.0"
export
R_LINUX_VERSION
=
"4.
2.1
-1.2004.0"
export
R_APT_REPO
=
"focal-cran40/"
else
echo
"Unrecognized R version:
${
R_VERSION
}
"
...
...
.github/workflows/r_package.yml
View file @
dc4794b6
...
...
@@ -40,7 +40,7 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-package
compiler
:
gcc
r_version
:
4.
1
r_version
:
4.
2
build_type
:
cmake
-
os
:
ubuntu-latest
task
:
r-package
...
...
@@ -50,7 +50,7 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-package
compiler
:
clang
r_version
:
4.
1
r_version
:
4.
2
build_type
:
cmake
-
os
:
macOS-latest
task
:
r-package
...
...
@@ -60,7 +60,7 @@ jobs:
-
os
:
macOS-latest
task
:
r-package
compiler
:
gcc
r_version
:
4.
1
r_version
:
4.
2
build_type
:
cmake
-
os
:
macOS-latest
task
:
r-package
...
...
@@ -70,7 +70,7 @@ jobs:
-
os
:
macOS-latest
task
:
r-package
compiler
:
clang
r_version
:
4.
1
r_version
:
4.
2
build_type
:
cmake
-
os
:
windows-latest
task
:
r-package
...
...
@@ -116,12 +116,12 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-package
compiler
:
gcc
r_version
:
4.
1
r_version
:
4.
2
build_type
:
cran
-
os
:
macOS-latest
task
:
r-package
compiler
:
clang
r_version
:
4.
1
r_version
:
4.
2
build_type
:
cran
################
# Other checks #
...
...
@@ -129,7 +129,7 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-rchk
compiler
:
gcc
r_version
:
4.
1
r_version
:
4.
2
build_type
:
cran
steps
:
-
name
:
Prevent conversion of line endings on Windows
...
...
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