Unverified Commit 051eb22c authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] [R-package] speed up valgrind job (#6237)

parent 1bd3d7e3
#!/bin/bash #!/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 \ sh build-cran-package.sh \
--r-executable=RDvalgrind \ --r-executable=RDvalgrind \
--no-build-vignettes \
|| exit -1 || exit -1
RDvalgrind CMD INSTALL --preclean --install-tests lightgbm_*.tar.gz || exit -1 RDvalgrind CMD INSTALL --preclean --install-tests lightgbm_*.tar.gz || exit -1
cd R-package/tests cd R-package/tests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment