Skip to content

Commit

Permalink
Ensure libicu$SO is installed so 'stringi' can be used
Browse files Browse the repository at this point in the history
Also collapse to remotes calls into one
  • Loading branch information
eddelbuettel committed Jan 23, 2025
1 parent a43fc86 commit 9aecd58
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
# this is the default but 'sccache' can be selected here
variant: ccache

- name: Prepare R for Ccache
- name: Prepare R for Ccache
run: |
mkdir -p ~/.R
cp -vax .github/etc/R_Makevars_${{ runner.os }} ~/.R/Makevars
- name: Configure Ccache for R
run: |
ccache --set-config "sloppiness=include_file_ctime"
ccache --set-config "hash_dir=false"
ccache --set-config "hash_dir=false"
ccache --show-config
ccache --zero-stats
Expand Down Expand Up @@ -98,10 +98,14 @@ jobs:
- name: Install R-bindings dependencies
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("roxygen2")
remotes::install_cran("pkgbuild")
remotes::install_cran(c("roxygen2","pkgbuild"))
shell: Rscript {0}

- name: Install R-bindings system dependencies
run: |
# We use R package 'stringi' which has a run-time depdency libicy$SO
sudo apt install -y libicu-dev
- name: CMake
run: |
mkdir build
Expand Down

0 comments on commit 9aecd58

Please sign in to comment.