Skip to content

Commit

Permalink
GHA: simplify FreeBSD, OpenBSD workflows
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
gaborcsardi committed Nov 6, 2024
1 parent 1a855d1 commit b870c50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/freebsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
required: true
type: choice
options:
- '15.0'
- '14.2-pre'
- '14.1'
- '14.0'
- '13.4'
Expand All @@ -27,7 +29,6 @@ jobs:
- uses: r-hub/actions/setup-r-freebsd@main
with:
release: ${{ github.event.inputs.release || '14.1' }}

- uses: r-hub/actions/platform-info@v1

- uses: r-lib/actions/setup-r-dependencies@v2
Expand All @@ -40,6 +41,7 @@ jobs:

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
env:
NOT_CRAN: true
23 changes: 2 additions & 21 deletions .github/workflows/openbsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,7 @@ jobs:
- uses: r-hub/actions/setup-r-openbsd@v1
with:
release: ${{ github.event.inputs.release || '7.6' }}

- name: Test R in OpenBSD 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-hub/actions/platform-info@v1

- name: Install system packages (for pingr)
run: |
Expand All @@ -48,20 +37,12 @@ jobs:
pak-version: none
install-pandoc: false
install-quarto: false
cache-version: openbsd-1
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
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 b870c50

Please sign in to comment.