Unverified Commit 1d0d746e authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] use wch1/r-debug image in Solaris tests (#4765)

* [ci] use wch1/r-debug image in Solaris tests

* no git in valgrind tests
parent 8deb9094
#!/bin/bash #!/bin/bash
sh build-cran-package.sh || exit -1
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
libcurl4-openssl-dev \ libcurl4-openssl-dev \
libxml2-dev \ libxml2-dev \
libssl-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 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 Rscript ./.ci/run_rhub_solaris_checks.R lightgbm_*.tar.gz $log_file || exit -1
...@@ -9,7 +9,7 @@ jobs: ...@@ -9,7 +9,7 @@ jobs:
name: solaris-cran name: solaris-cran
timeout-minutes: 120 timeout-minutes: 120
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: rocker/r-base container: wch1/r-debug
env: env:
SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }} SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }}
steps: steps:
...@@ -19,7 +19,6 @@ jobs: ...@@ -19,7 +19,6 @@ jobs:
apt-get update apt-get update
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
curl \ curl \
git \
jq jq
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2.4.0 uses: actions/checkout@v2.4.0
......
...@@ -19,7 +19,6 @@ jobs: ...@@ -19,7 +19,6 @@ jobs:
apt-get update apt-get update
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
curl \ curl \
git \
jq jq
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2.4.0 uses: actions/checkout@v2.4.0
......
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