Skip to content

Commit

Permalink
Merge pull request #1 from onnela-lab/win
Browse files Browse the repository at this point in the history
Add windows runner.
  • Loading branch information
tillahoffmann authored Dec 15, 2023
2 parents be1f6c1 + d80126c commit 7dd3e60
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,21 @@ env:
jobs:
build:
name: Build
runs-on: "ubuntu-latest"
strategy:
matrix:
runner:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.runner }}
steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v4"
- name: Install Windows dependencies.
run: choco install pandoc
if: matrix.runner == 'windows-latest'
- name: Install macOS dependencies.
run: brew install pandoc
if: matrix.runner == 'macos-latest'
- uses: "r-lib/actions/setup-r@v2"
- uses: r-lib/actions/setup-r-dependencies@v2
with:
Expand Down

0 comments on commit 7dd3e60

Please sign in to comment.