more #212
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: genieclust for R | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
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 python3-rpy2 libmlpack-dev r-base-dev | |
sudo Rscript -e "install.packages(c('genie', 'Rcpp', 'tinytest', 'roxygen2', 'pkgbuild', 'clusterCrit', 'clusterSim'))" | |
- name: Test and check R | |
run: | | |
sudo make r-test | |
sudo make r-check |