Skip to content

Commit

Permalink
Change workflow runtime to osx
Browse files Browse the repository at this point in the history
  • Loading branch information
dipterix committed Apr 26, 2024
1 parent e8976ac commit 83dea77
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ubuntu-latest
runs-on: macos-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4

- name: Install brew packages on OSX
if: runner.os == 'macOS'
run: |
brew install fftw glpk pkgconfig hdf5
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
runs-on: macos-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
Expand All @@ -24,6 +24,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install brew packages on OSX
if: runner.os == 'macOS'
run: |
brew install fftw glpk pkgconfig hdf5
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
Expand Down

0 comments on commit 83dea77

Please sign in to comment.