Windows: fix linking order for R-4.5 #208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: stringi for R (system ICU) | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.config.os }} | |
name: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- {os: ubuntu-latest} | |
- {os: ubuntu-20.04} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install libcurl4-openssl-dev r-base-dev devscripts libicu-dev language-pack-pl | |
sudo Rscript -e "install.packages(c('tinytest', 'Rcpp'))" | |
- name: Install stringi | |
run: | | |
sudo R CMD INSTALL . | |
- name: Test stringi | |
run: | | |
Rscript -e 'source(".devel/tinytest.R")' | |
LC_ALL="pl_PL.UTF-8" Rscript -e 'source(".devel/tinytest.R")' |