Skip to content

Use distro version of cargo to test #175

Use distro version of cargo to test

Use distro version of cargo to test #175

Workflow file for this run

# 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
on:
push:
pull_request:
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) ${{ matrix.config.FORCE_STATIC_GIFSKI }}
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: '4.1'}
- {os: windows-latest, r: '4.2', FORCE_STATIC_GIFSKI: 'static'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'release', FORCE_STATIC_GIFSKI: 'static'}
- {os: macOS-13, r: 'release'}
- {os: macOS-14, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-24.04, r: 'release'}
- {os: ubuntu-22.04, r: 'release'}
- {os: ubuntu-20.04, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- if: runner.os == 'linux'
run: |
rustup self uninstall -y
apt-get update -y
apt-get install -y cargo
- uses: actions/checkout@v4
- 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-results: true
env:
FORCE_STATIC_GIFSKI: ${{ matrix.config.FORCE_STATIC_GIFSKI }}