Skip to content

update GH actions

update GH actions #41

name: stringx for R (system ICU; ubuntu-20.04)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: 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('stringi')"
sudo Rscript -e "install.packages(c('realtest', 'roxygen2'))"
- name: Install stringx
run: |
sudo R CMD INSTALL .
- name: Test stringx
run: |
sudo make test
LC_ALL="pl_PL.UTF-8" sudo make test
LC_ALL="C" sudo make test
- name: Check stringx
run: |
sudo make check
LC_ALL="pl_PL.UTF-8" sudo make check
LC_ALL="C" sudo make check