File tree Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ pull_request :
4
+
5
+ name : RHUB-check
6
+
7
+ jobs :
8
+ R-CMD-check :
9
+ runs-on : ubuntu-latest
10
+ name : r-hub2/${{ matrix.container }}
11
+ container : ghcr.io/r-hub/containers/${{ matrix.container }}:latest
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ container : [ 'clang18', 'clang20', 'ubuntu-clang' ]
16
+
17
+ env :
18
+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
19
+ R_KEEP_PKG_SOURCE : yes
20
+ DOWNLOAD_STATIC_LIBV8 : true
21
+
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+
25
+ - uses : r-lib/actions/setup-pandoc@v2
26
+
27
+ - uses : r-lib/actions/setup-r-dependencies@v2
28
+ with :
29
+ extra-packages : any::rcmdcheck
30
+ needs : check
31
+
32
+ - uses : r-lib/actions/check-r-package@v2
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- rm -f src/Makevars configure.log autobrew
2
+ rm -f src/Makevars configure.log autobrew get-im * .sh
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ if [ -z "$PKGCONFIG_LIBS" ] && [ `command -v GraphicsMagick++-config` ]; then
26
26
echo "Warning: found GraphicsMagick++ instead of ImageMagick++. GraphicsMagick is not supported."
27
27
fi
28
28
29
+ # CRAN Linux LIBC++ is incompatible with Fedora-42 ImageMagick-7
30
+ if [ "$(uname -sm)" = "Linux x86_64" ] && echo "$CXX" | grep -Fq "clang"; then
31
+ curl -sOL "https://github.com/ropensci/magick/releases/download/ImageMagick-6.9.13-25/get-im6-linux.sh" && . ./get-im6-linux.sh || true
32
+ fi
33
+
29
34
# Note that cflags may be empty in case of success
30
35
if [ "$INCLUDE_DIR" ] || [ "$LIB_DIR" ]; then
31
36
echo "Found INCLUDE_DIR and/or LIB_DIR!"
You can’t perform that action at this time.
0 commit comments