Skip to content

Commit

Permalink
[ci] use wch1/r-debug image in Solaris tests (#4765)
Browse files Browse the repository at this point in the history
* [ci] use wch1/r-debug image in Solaris tests

* no git in valgrind tests
  • Loading branch information
jameslamb authored Nov 3, 2021
1 parent 8deb909 commit 1d0d746
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .ci/test_r_package_solaris.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash

sh build-cran-package.sh || exit -1

apt-get install --no-install-recommends -y \
libcurl4-openssl-dev \
libxml2-dev \
libssl-dev

log_file="rhub_logs.txt"
Rscript -e "install.packages('rhub', dependencies = c('Depends', 'Imports', 'LinkingTo'), repos = 'https://cran.r-project.org', Ncpus = parallel::detectCores())" || exit -1

sh build-cran-package.sh || exit -1

log_file="rhub_logs.txt"
Rscript ./.ci/run_rhub_solaris_checks.R lightgbm_*.tar.gz $log_file || exit -1
3 changes: 1 addition & 2 deletions .github/workflows/r_solaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: solaris-cran
timeout-minutes: 120
runs-on: ubuntu-latest
container: rocker/r-base
container: wch1/r-debug
env:
SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }}
steps:
Expand All @@ -19,7 +19,6 @@ jobs:
apt-get update
apt-get install --no-install-recommends -y \
curl \
git \
jq
- name: Checkout repository
uses: actions/[email protected]
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/r_valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
apt-get update
apt-get install --no-install-recommends -y \
curl \
git \
jq
- name: Checkout repository
uses: actions/[email protected]
Expand Down

0 comments on commit 1d0d746

Please sign in to comment.