Skip to content

Remove snappy makefile - now auto generated #150

Remove snappy makefile - now auto generated

Remove snappy makefile - now auto generated #150

Workflow file for this run

on:
push:
pull_request:
branches:
- devel
name: R-CMD-check
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.bioc-version }})
strategy:
fail-fast: false
matrix:
config:
- { os: windows-2022, bioc-version: 'devel'}
- { os: macOS-latest, bioc-version: 'devel'}
- { os: ubuntu-22.04, bioc-version: 'devel', bioc-mirror: 'https://ftp.gwdg.de/pub/misc/bioconductor', sys-libs: 'false'}
- { os: ubuntu-22.04, bioc-version: 'devel', bioc-mirror: 'https://ftp.gwdg.de/pub/misc/bioconductor', sys-libs: 'true'}
steps:
- name: Configure git
run: |
git config --global core.autocrlf false
- uses: actions/checkout@v4
- name: Install system dependencies
if: ${{ runner.os == 'linux' && matrix.config.sys-libs == 'true' }}
run: sudo apt-get update && sudo apt-get install -y libblosc-dev libzstd-dev
- name: Remove system dependencies
if: ${{ runner.os == 'linux' && matrix.config.sys-libs == 'false' }}
run: sudo apt-get update && sudo apt-get remove -y libblosc-dev libzstd-dev
- name: Setup R and Bioconductor
uses: grimbough/bioc-actions/setup-bioc@v1
with:
bioc-version: ${{ matrix.config.bioc-version }}
bioc-mirror: https://ftp.gwdg.de/pub/misc/bioconductor
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
- name: Bioc - Build, Install, Check
id: build-install-check
uses: grimbough/bioc-actions/build-install-check@v1
- name: Run BiocCheck
uses: grimbough/bioc-actions/run-BiocCheck@v1
with:
error-on: 'never'
arguments: '--no-check-bioc-help'
- name: Session info
run: |
sessionInfo()
shell: Rscript {0}
- name: Upload built package binary
uses: actions/upload-artifact@v3
with:
name: ${{runner.os}}-binary
path: |
${{ steps.build-install-check.outputs.package-binary }}
- name: Upload built package binary
uses: actions/upload-artifact@v3
if: runner.os == 'Linux'
with:
name: BiocCheck
path: |
~/**/*.BiocCheck