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
5ea00579
Unverified
Commit
5ea00579
authored
Sep 04, 2023
by
James Lamb
Committed by
GitHub
Sep 04, 2023
Browse files
[ci] [R-package] test against R 4.3 on Linux and macOS (#6075)
parent
bca716cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
.ci/test_r_package.sh
.ci/test_r_package.sh
+4
-3
.github/workflows/r_package.yml
.github/workflows/r_package.yml
+7
-7
No files found.
.ci/test_r_package.sh
View file @
5ea00579
...
...
@@ -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.
2.2
export
R_MAC_PKG_URL
=
${
CRAN_MIRROR
}
/bin/macosx/base/R-
${
R_MAC_VERSION
}
.pkg
export
R_LINUX_VERSION
=
"4.
2.2
-1.2204.0"
export
R_MAC_VERSION
=
4.
3.1
export
R_MAC_PKG_URL
=
${
CRAN_MIRROR
}
/bin/macosx/
big-sur-x86_64/
base/R-
${
R_MAC_VERSION
}
-x86_64
.pkg
export
R_LINUX_VERSION
=
"4.
3.1
-1.2204.0"
export
R_APT_REPO
=
"jammy-cran40/"
else
echo
"Unrecognized R version:
${
R_VERSION
}
"
...
...
@@ -56,6 +56,7 @@ if [[ $OS_NAME == "linux" ]]; then
texlive-latex-recommended
\
texlive-fonts-recommended
\
texlive-fonts-extra
\
tidy
\
qpdf
\
||
exit
-1
...
...
.github/workflows/r_package.yml
View file @
5ea00579
...
...
@@ -48,7 +48,7 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-package
compiler
:
gcc
r_version
:
4.
2
r_version
:
4.
3
build_type
:
cmake
container
:
'
ubuntu:22.04'
-
os
:
ubuntu-latest
...
...
@@ -60,19 +60,19 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-package
compiler
:
clang
r_version
:
4.
2
r_version
:
4.
3
build_type
:
cmake
container
:
'
ubuntu:22.04'
-
os
:
macOS-latest
task
:
r-package
compiler
:
gcc
r_version
:
4.
2
r_version
:
4.
3
build_type
:
cmake
container
:
null
-
os
:
macOS-latest
task
:
r-package
compiler
:
clang
r_version
:
4.
2
r_version
:
4.
3
build_type
:
cmake
container
:
null
-
os
:
windows-latest
...
...
@@ -125,13 +125,13 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-package
compiler
:
gcc
r_version
:
4.
2
r_version
:
4.
3
build_type
:
cran
container
:
'
ubuntu:22.04'
-
os
:
macOS-latest
task
:
r-package
compiler
:
clang
r_version
:
4.
2
r_version
:
4.
3
build_type
:
cran
container
:
null
################
...
...
@@ -140,7 +140,7 @@ jobs:
-
os
:
ubuntu-latest
task
:
r-rchk
compiler
:
gcc
r_version
:
4.
2
r_version
:
4.
3
build_type
:
cran
container
:
'
ubuntu:22.04'
steps
:
...
...
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