From cc4ed59cb3aa551c256ecc21c988cd0be79a0a6e Mon Sep 17 00:00:00 2001 From: James Eapen Date: Tue, 3 Dec 2024 11:45:33 -0500 Subject: [PATCH] ci(rhub): install htslib on runners --- .github/workflows/rhub.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml index 74ec7b0..b1cd895 100644 --- a/.github/workflows/rhub.yaml +++ b/.github/workflows/rhub.yaml @@ -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 }} @@ -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 }}