From 3ce6e48281b16c1970a851324a5cd854849d485e Mon Sep 17 00:00:00 2001 From: Daniel Chen Date: Sat, 1 Jun 2024 12:05:06 -0700 Subject: [PATCH] cicd slides on using mac and windows runners to install faster --- slides/05-ci-cd.qmd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/slides/05-ci-cd.qmd b/slides/05-ci-cd.qmd index c656250..37c461b 100644 --- a/slides/05-ci-cd.qmd +++ b/slides/05-ci-cd.qmd @@ -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) @@ -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: + ## Pkgdown + GitHub Actions {.smaller} If you want more...