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
d7ea2692
Unverified
Commit
d7ea2692
authored
Jan 30, 2023
by
James Lamb
Committed by
GitHub
Jan 30, 2023
Browse files
[ci] get clang-15 from bookworm repository (fixes #5688) (#5689)
parent
ad68f137
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
.github/workflows/r_package.yml
.github/workflows/r_package.yml
+8
-2
No files found.
.github/workflows/r_package.yml
View file @
d7ea2692
...
@@ -308,7 +308,7 @@ jobs:
...
@@ -308,7 +308,7 @@ jobs:
#
#
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
#
#
add-apt-repository "deb http://apt.llvm.org/
bullsey
e/ llvm-toolchain
-bullseye-15
main"
add-apt-repository "deb http://apt.llvm.org/
unstabl
e/ llvm-toolchain main"
apt-get install -y --no-install-recommends \
apt-get install -y --no-install-recommends \
clang-15 \
clang-15 \
clangd-15 \
clangd-15 \
...
@@ -335,7 +335,13 @@ jobs:
...
@@ -335,7 +335,13 @@ jobs:
Rscript -e "install.packages(c('R6', 'data.table', 'jsonlite', 'knitr', 'Matrix', 'RhpcBLASctl', 'rmarkdown', 'testthat'), repos = 'https://cran.rstudio.com', Ncpus = parallel::detectCores())"
Rscript -e "install.packages(c('R6', 'data.table', 'jsonlite', 'knitr', 'Matrix', 'RhpcBLASctl', 'rmarkdown', 'testthat'), repos = 'https://cran.rstudio.com', Ncpus = parallel::detectCores())"
sh build-cran-package.sh
sh build-cran-package.sh
R CMD check --as-cran --run-donttest lightgbm_*.tar.gz || exit -1
R CMD check --as-cran --run-donttest lightgbm_*.tar.gz || exit -1
if grep -q -E "NOTE|WARNING|ERROR" lightgbm.Rcheck/00check.log; then
# ignoring the following NOTE:
#
# * checking C++ specification ... NOTE
# Specified C++11: please update to current default of C++17
#
# until it's resolved (see https://github.com/microsoft/LightGBM/pull/5690)
if $(grep -v "C++ specification" "$LOG_FILE_NAME" | grep -v "1 NOTE" | grep -E "NOTE|WARNING|ERROR"); then
echo "NOTEs, WARNINGs, or ERRORs have been found by R CMD check"
echo "NOTEs, WARNINGs, or ERRORs have been found by R CMD check"
exit -1
exit -1
fi
fi
...
...
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