-
Notifications
You must be signed in to change notification settings - Fork 44
32 lines (30 loc) · 1.02 KB
/
r-icu-bundle55.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
name: stringi for R (ICU55 bundle+check)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update -qq
# https://cran.r-project.org/bin/linux/ubuntu/
sudo apt install --no-install-recommends software-properties-common dirmngr
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
sudo apt-get -y upgrade
sudo apt-get -y install libcurl4-openssl-dev r-base-dev devscripts
sudo Rscript -e "install.packages(c('tinytest', 'roxygen2', 'pkgbuild', 'Rcpp'))"
- name: Install stringi
run: |
sudo make r-icu-bundle55
- name: Test stringi
run: |
sudo make tinytest
- name: Check stringi
run: |
sudo make check