Skip to content

freebsd.yaml

freebsd.yaml #13

Workflow file for this run

on:
push:
branches: [main, master]
pull_request:
workflow_dispatch:
inputs:
release:
description: 'FreeBSD release'
required: true
type: choice
options:
- '14.1'
- '14.0'
- '13.4'
- '13.3'
- '13.2'
- '12.4'
default: '14.1'
name: freebsd.yaml
jobs:
freebsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-hub/actions/setup-r-freebsd@main
with:
release: ${{ github.event.inputs.release || '14.1' }}
- name: Test R in FreeBSD VM
run: |
getRversion()
R.version[["platform"]]
.libPaths()
.Library
find.package("pak")
Sys.getenv()
shell: Rscript {0}
- uses: r-hub/actions/debug-shell@v1
- name: Install system requirements
run: |
pkg install -y hs-pandoc
shell: freebsd {0}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: none
install-pandoc: false
install-quarto: false
cache-version: freebsd-1
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
upload-results: never
upload-snapshots: false
env:
NOT_CRAN: true
- uses: actions/upload-artifact@v4
if: failure()
with:
name: 'check-results'
path: check