Skip to content

Commit

Permalink
cicd slides on using mac and windows runners to install faster
Browse files Browse the repository at this point in the history
  • Loading branch information
chendaniely committed Jun 1, 2024
1 parent 70cd0b1 commit 3ce6e48
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions slides/05-ci-cd.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ format:
slide-number: true
slide-level: 4
embed-resources: true

editor:
render-on-save: true
---

## Continuous Integration (CI) and Continuous Deployment (CD)
Expand Down Expand Up @@ -124,6 +127,25 @@ jobs:
uses: r-lib/actions/check-r-package@v2
```

## Make installations go faster

- Many packages install from source on linux
- Pre-compiled binaries exist for Windows and Mac

You can make the R package install setup faster if you replace the runner

From:

```yaml
jobs:
R-CMD-check:
runs-on: ubuntu-latest
```

use either `windows-latest` or `macos-latest`

List of runners: <https://github.com/actions/runner-images>

## Pkgdown + GitHub Actions {.smaller}

If you want more...
Expand Down

0 comments on commit 3ce6e48

Please sign in to comment.