Skip to content

attempt to fix Github Actions #45

attempt to fix Github Actions

attempt to fix Github Actions #45

Workflow file for this run

# This is my own action yaml file and it is NOT TESTED. Use at your own risk!
name: R CMD check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: build on ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
R: [ '4.2.0' ]
steps:
- uses: actions/checkout@master
- name: Install R-related dependencies
run: |
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libgit2-dev
sudo apt-get install libssh2-1-dev
- name: Set up R ${{ matrix.R }}
uses: r-lib/actions/setup-r@v1
with:
r-version: ${{ matrix.R }}
- name: Install dependencies
run: |
install.packages(c("remotes", "devtools"))
devtools::install_dev_deps(pkg = ".", dependencies = TRUE)
shell: Rscript {0}
- name: Check dependencies with makefile
run: make deps
- name: Running make - documentation
run: make clean docs
- name: Running make - building without manual
run: make build-noman
- name: Running make - check without CRAN
run: make check