Skip to content

Commit

Permalink
ci(pkgdown): install htslib, manually build iscream without pak;
Browse files Browse the repository at this point in the history
htslib needs to be in the same job as the R CMD INSTALL for R to find it
  • Loading branch information
jamespeapen committed Jul 3, 2024
1 parent 0d79e4b commit 989d2d2
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,25 @@ jobs:
with:
use-public-rspm: true

- name: Install htslib
run: |
sudo apt-get update && sudo apt-get install -y libhts-dev
echo "-------------------HTSLIB-----------------------"
pkg-config --cflags --libs htslib
echo "------------------------------------------------"
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
extra-packages: any::pkgdown
needs: website

- name: Check dev mode
run: echo "$GITHUB_ENV"

- name: Install htslib iscream
run: |
sudo apt-get update
sudo apt-get install -y libhts-dev
echo "-------------------HTSLIB-----------------------"
pkg-config --cflags --libs htslib
echo "------------------------------------------------"
- name: Install htslib iscream
run: R CMD INSTALL .

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
Expand Down

0 comments on commit 989d2d2

Please sign in to comment.