Skip to content

Commit

Permalink
ci(rhub): install htslib on runners
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespeapen committed Dec 3, 2024
1 parent 9ac2ede commit cc4ed59
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ jobs:
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}

- name: Install deps
run: |
sudo apt-get install libhts-dev
echo "-------------------HTSLIB-----------------------"
pkg-config --cflags --libs htslib
echo "------------------------------------------------"
- uses: r-hub/actions/run-check@v1
with:
token: ${{ secrets.RHUB_TOKEN }}
Expand Down Expand Up @@ -89,6 +97,13 @@ jobs:
with:
job-config: ${{ matrix.config.job-config }}
token: ${{ secrets.RHUB_TOKEN }}
- name: Install htslib
if: ${{ matrix.config.os == 'macos'}}
run: |
brew install htslib
echo "-------------------HTSLIB-----------------------"
pkg-config --cflags --libs htslib
echo "------------------------------------------------"
- uses: r-hub/actions/run-check@v1
with:
job-config: ${{ matrix.config.job-config }}
Expand Down

0 comments on commit cc4ed59

Please sign in to comment.