Skip to content

Commit

Permalink
try setting up weekly natverse build
Browse files Browse the repository at this point in the history
* also runs on pushes to feature/natverse-weekly
* multi platform
* would like to see how sysreqs work out
  • Loading branch information
jefferis committed Aug 31, 2023
1 parent 30f16da commit 6c40fa2
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/natverse-weekly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# 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
#
# NOTE: This workflow is overkill for most R packages and
# check-standard.yaml is likely a better choice.
# usethis::use_github_action("check-standard") will install it.
on:
schedule:
- cron: "0 10 * * 1"
push:
branches: [feature/natverse-weekly]

jobs:
natverse-weekly:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}

- {os: windows-latest, r: 'release'}

- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
RGL_USE_NULL: true

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: ${{ matrix.config.r }}

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: local::.

- name: natmanager core
run: natmanager::install('core')
shell: Rscript {0}

- name: natmanager natverse
run: natmanager::install('natverse')
shell: Rscript {0}

- name: natmanager extra
run: natmanager::install(pkgs='cocnatfly')
shell: Rscript {0}

0 comments on commit 6c40fa2

Please sign in to comment.