Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 2.72 KB

README.md

File metadata and controls

38 lines (22 loc) · 2.72 KB

GitHub Actions for working with R and WebAssembly

r-wasm actions - image r-wasm actions - repo

This repository stores GitHub actions and reusable workflows associated with R WebAssembly tasks, which can be used in CI. It also has a number of example workflows which use these actions.

Releases and tags

We use major version tags to mark breaking changes in these actions. For the current version, please use the v2 tag, e.g.:

jobs:
  deploy-cran-repo:
    uses: r-wasm/actions/.github/workflows/deploy-cran-repo.yml@v2

Reusable workflows

  • r-wasm/actions/.github/workflows/deploy-cran-repo.yml - Reusable workflow that will build a CRAN-like repository for R WebAssembly and deploys the repo to GitHub pages (in beta). Great for groups and organizations using a meta GitHub repo to create a centralized R WebAssembly CRAN-like repository. Similar to CRAN, users do not need to download every package and only the latest published repository version will persist.

  • r-wasm/actions/.github/workflows/release-file-system-image.yml - Reusable workflow that builds a WebAssembly file image and adds the files to a GitHub release. This is typically used within R packages to build and release a Wasm R package library image of your package and its dependencies. Because the assets are tied to a release, they will never be overwritten are are stable over time.

For more documentation about these workflows, please see the reusable workflow readme.

Actions

  • r-wasm/actions/build-rwasm - Builds a list of R packages for WebAssembly, creates a WebAssembly file image containing an R package library, and creates a CRAN-like repository containing the R package binaries.

Examples

See the r-wasm/actions/examples directory for example workflows using these actions and workflows.

Other GitHub Actions for R projects