Skip to content

Commit

Permalink
try macos + ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespeapen committed Jul 2, 2024
1 parent 119efa1 commit 76052c1
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: [main, master, ci]
paths-ignore:
- '**/README.md'
pull_request:
Expand All @@ -20,9 +20,9 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release', htslib: 'libhts-dev', install_cmd: 'sudo apt-get update && sudo apt-get install -y'}
- {os: macos-latest, r: 'release', htslib: 'htslib', install_cmd: 'brew install'}
# - {os: windows-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -44,6 +44,17 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

- name: Install brew
if: matrix.config.os == 'macos-latest'
uses: Homebrew/actions/setup-homebrew@master

- name: Install deps
run: |
${{ matrix.config.install_cmd }} ${{ matrix.config.htslib }}
echo "-------------------HTSLIB-----------------------"
pkg-config --cflags --libs htslib
echo "------------------------------------------------"
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true

0 comments on commit 76052c1

Please sign in to comment.