Skip to content

Commit

Permalink
Merge pull request #115 from stemangiola/fix-build-matrix
Browse files Browse the repository at this point in the history
Pin Matrix version
  • Loading branch information
multimeric authored Jul 12, 2023
2 parents d538785 + 2246216 commit c4b7904
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ env:
run_covr: 'false'
run_pkgdown: 'true'
has_RUnit: 'false'
cache-version: 'cache-v1'
cache-version: 'cache-v2'

jobs:
build-check:
Expand Down Expand Up @@ -181,6 +181,15 @@ jobs:
remotes::install_cran("rcmdcheck")
BiocManager::install("BiocCheck")
shell: Rscript {0}

# This is a hack to fix this bug: https://stackoverflow.com/q/73700130/2148718
# Basically the Seurat and SeuratObject binary packages are compiled against an
# older version of Matrix, which causes an error we can fix by re-compiling from source
- name: Fix Matrix on MacOS.
if: matrix.config.os == 'macOS-latest'
run: |
install.packages(c("Seurat", "SeuratObject"), type="source")
shell: Rscript {0}

- name: Install BiocGenerics
if: env.has_RUnit == 'true'
Expand Down

0 comments on commit c4b7904

Please sign in to comment.