Skip to content

Commit

Permalink
GHA: add DragonFlyBSD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Oct 25, 2024
1 parent b3a06a1 commit 9a743ea
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/dragonflybsd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
on:
workflow_dispatch:
inputs:
release:
description: 'DragonFlyBSD release'
required: true
type: choice
options:
- '6.4.0'
default: '6.4.0'

name: dragonflybsd.yaml

jobs:
dragonflybsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-hub/actions/setup-r-dragonflybsd@v1
with:
release: ${{ github.event.inputs.release || '6.4.0' }}

- name: Test R in DragonFlyBSD VM
run: |
getRversion()
R.version[["platform"]]
.libPaths()
.Library
find.package("pak")
Sys.getenv()
shell: Rscript {0}

- uses: r-hub/actions/debug-shell@v1

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: none
install-pandoc: false
install-quarto: false
cache-version: dragonflybsd-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

0 comments on commit 9a743ea

Please sign in to comment.