Merge branch 'master' of https://github.com/zankrut20/selection.index #129
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | |
| # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
| # | |
| # Matrix mirrors active CRAN check platforms: | |
| # https://cran.r-project.org/web/checks/check_flavors.html | |
| on: | |
| push: | |
| pull_request: | |
| name: R-CMD-check | |
| jobs: | |
| R-CMD-check: | |
| runs-on: ${{ matrix.config.os }} | |
| name: ${{ matrix.config.cran_flavor }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| # ── macOS ARM64 ───────────────────────────────────────────────────── | |
| - {os: macos-latest, r: 'devel', cran_flavor: 'r-devel-macos-arm64'} | |
| - {os: macos-latest, r: 'release', cran_flavor: 'r-release-macos-arm64'} | |
| - {os: macos-latest, r: 'oldrel-1', cran_flavor: 'r-oldrel-macos-arm64'} | |
| # ── macOS x86_64 ───────────────────────────────────────────────────── | |
| - {os: macos-26-intel, r: 'devel', cran_flavor: 'r-devel-macos-x86_64'} | |
| - {os: macos-26-intel, r: 'release', cran_flavor: 'r-release-macos-x86_64'} | |
| - {os: macos-26-intel, r: 'oldrel-1', cran_flavor: 'r-oldrel-macos-x86_64'} | |
| # ── Windows x86_64 ─────────────────────────────────────────────────── | |
| - {os: windows-latest, r: 'devel', cran_flavor: 'r-devel-windows-x86_64'} | |
| - {os: windows-latest, r: 'release', cran_flavor: 'r-release-windows-x86_64'} | |
| - {os: windows-latest, r: 'oldrel-1', cran_flavor: 'r-oldrel-windows-x86_64'} | |
| # ── Windows ARM64 ──────────────────────────────────────────────────── | |
| - {os: windows-11-arm, r: 'devel', cran_flavor: 'r-devel-windows-arm64'} | |
| - {os: windows-11-arm, r: 'release', cran_flavor: 'r-release-windows-arm64'} | |
| - {os: windows-11-arm, r: 'oldrel-1', cran_flavor: 'r-oldrel-windows-arm64'} | |
| # ── Linux x86_64 (covers all four Linux CRAN flavors) ──────────────── | |
| - {os: ubuntu-latest, r: 'devel', cran_flavor: 'r-devel-linux-x86_64', http-user-agent: 'release'} | |
| - {os: ubuntu-latest, r: 'release', cran_flavor: 'r-release-linux-x86_64'} | |
| - {os: ubuntu-latest, r: 'oldrel-1', cran_flavor: 'r-oldrel-linux-x86_64'} | |
| # ── Linux ARM64 ────────────────────────────────────────────────────── | |
| # - {os: ubuntu-24.04-arm, r: 'release', cran_flavor: 'r-release-linux-arm64'} | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| R_KEEP_PKG_SOURCE: yes | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-pandoc@v2 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| r-version: ${{ matrix.config.r }} | |
| http-user-agent: ${{ matrix.config.http-user-agent }} | |
| use-public-rspm: true | |
| - uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: any::rcmdcheck | |
| needs: check | |
| - uses: r-lib/actions/check-r-package@v2 | |
| with: | |
| upload-snapshots: true | |
| error-on: '"error"' |