-
Notifications
You must be signed in to change notification settings - Fork 44
37 lines (32 loc) · 943 Bytes
/
r-icu-system.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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="C.UTF-8" Rscript -e 'source(".devel/tinytest.R")'
LC_ALL="pl_PL.UTF-8" Rscript -e 'source(".devel/tinytest.R")'