Skip to content

Commit 1d0d746

Browse files
authored
[ci] use wch1/r-debug image in Solaris tests (#4765)
* [ci] use wch1/r-debug image in Solaris tests * no git in valgrind tests
1 parent 8deb909 commit 1d0d746

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Diff for: .ci/test_r_package_solaris.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/bash
22

3-
sh build-cran-package.sh || exit -1
4-
53
apt-get install --no-install-recommends -y \
64
libcurl4-openssl-dev \
75
libxml2-dev \
86
libssl-dev
97

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

10+
sh build-cran-package.sh || exit -1
11+
12+
log_file="rhub_logs.txt"
1313
Rscript ./.ci/run_rhub_solaris_checks.R lightgbm_*.tar.gz $log_file || exit -1

Diff for: .github/workflows/r_solaris.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: solaris-cran
1010
timeout-minutes: 120
1111
runs-on: ubuntu-latest
12-
container: rocker/r-base
12+
container: wch1/r-debug
1313
env:
1414
SECRETS_WORKFLOW: ${{ secrets.WORKFLOW }}
1515
steps:
@@ -19,7 +19,6 @@ jobs:
1919
apt-get update
2020
apt-get install --no-install-recommends -y \
2121
curl \
22-
git \
2322
jq
2423
- name: Checkout repository
2524
uses: actions/[email protected]

Diff for: .github/workflows/r_valgrind.yml

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
apt-get update
2020
apt-get install --no-install-recommends -y \
2121
curl \
22-
git \
2322
jq
2423
- name: Checkout repository
2524
uses: actions/[email protected]

0 commit comments

Comments
 (0)