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
051eb22c
Unverified
Commit
051eb22c
authored
Dec 22, 2023
by
James Lamb
Committed by
GitHub
Dec 22, 2023
Browse files
[ci] [R-package] speed up valgrind job (#6237)
parent
1bd3d7e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.ci/test_r_package_valgrind.sh
.ci/test_r_package_valgrind.sh
+3
-1
No files found.
.ci/test_r_package_valgrind.sh
View file @
051eb22c
#!/bin/bash
RDscriptvalgrind
-e
"install.packages(c('R6', 'data.table', 'jsonlite',
'knitr',
'Matrix', 'RhpcBLASctl',
'rmarkdown',
'testthat'), repos = 'https://cran.rstudio.com'
, Ncpus = parallel::detectCores()
)"
||
exit
-1
RDscriptvalgrind
-e
"install.packages(c('R6', 'data.table', 'jsonlite', 'Matrix', 'RhpcBLASctl', 'testthat'), repos = 'https://cran.rstudio.com')"
||
exit
-1
sh build-cran-package.sh
\
--r-executable
=
RDvalgrind
\
--no-build-vignettes
\
||
exit
-1
RDvalgrind CMD INSTALL
--preclean
--install-tests
lightgbm_
*
.tar.gz
||
exit
-1
cd
R-package/tests
...
...
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