File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,8 @@ x-hierarchy:
113113 # descendant images if any. Archery checks that all node has a corresponding
114114 # service entry, so any new image/service must be listed here.
115115 - almalinux-verify-rc
116- - alpine-linux-cpp
116+ - alpine-linux-cpp :
117+ - alpine-linux-r
117118 - centos-cpp-static
118119 - conda :
119120 - conda-cpp :
@@ -246,6 +247,42 @@ services:
246247 /arrow/ci/scripts/cpp_build.sh /arrow /build &&
247248 /arrow/ci/scripts/cpp_test.sh /arrow /build"
248249
250+ alpine-linux-r :
251+ # Usage:
252+ # docker compose build alpine-linux-cpp
253+ # docker compose build alpine-linux-r
254+ # docker compose run alpine-linux-r
255+ # Tests R package installation on musl (Alpine Linux) for CRAN checks.
256+ # R package builds C++ from source, exercising nixlibs.R musl detection.
257+ # Parameters:
258+ # ALPINE_LINUX: 3.22
259+ # R: 4.5
260+ # ARCH: amd64, arm64v8, ...
261+ image : ${REPO}:${ARCH}-alpine-linux-${ALPINE_LINUX}-r-${R}
262+ build :
263+ context : .
264+ dockerfile : ci/docker/linux-r.dockerfile
265+ cache_from :
266+ - ${REPO}:${ARCH}-alpine-linux-${ALPINE_LINUX}-r-${R}
267+ args :
268+ arch : ${ARCH}
269+ base : ${REPO}:${ARCH}-alpine-linux-${ALPINE_LINUX}-cpp
270+ r_bin : R
271+ r : ${R}
272+ r_dev : " TRUE"
273+ r_prune_deps : ${R_PRUNE_DEPS}
274+ tz : ${TZ}
275+ shm_size : *shm-size
276+ environment :
277+ << : *common
278+ ARROW_R_DEV : " TRUE"
279+ ARROW_SOURCE_HOME : ' /arrow'
280+ LIBARROW_BUILD : ' true'
281+ volumes : *alpine-linux-volumes
282+ command : >
283+ /bin/bash -c "
284+ /arrow/ci/scripts/r_test.sh /arrow"
285+
249286 conda :
250287 # Base image for conda builds.
251288 #
Original file line number Diff line number Diff line change @@ -683,6 +683,12 @@ tasks:
683683 params :
684684 MATRIX : {{ "${{ matrix.r_version }}" }}
685685
686+ test-r-alpine-linux :
687+ ci : github
688+ template : docker-tests/github.linux.yml
689+ params :
690+ image : alpine-linux-r
691+
686692 test-r-install-local :
687693 ci : github
688694 template : r/github.macos-linux.local.yml
You can’t perform that action at this time.
0 commit comments