mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
matrix R-CMD-check
This commit is contained in:
parent
cc58bd1ae4
commit
3aa9295b39
29
.github/workflows/cmake.yml
vendored
29
.github/workflows/cmake.yml
vendored
@ -94,9 +94,24 @@ jobs:
|
||||
echo DATE=${{ needs.init.outputs.DATE }}
|
||||
echo DATE_RFC_3339=${{ needs.init.outputs.DATE_RFC_3339 }}
|
||||
|
||||
r-build:
|
||||
R-CMD-check:
|
||||
needs: [init]
|
||||
runs-on: ubuntu-latest
|
||||
##runs-on: ubuntu-latest
|
||||
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'}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@ -106,6 +121,8 @@ jobs:
|
||||
- name: Setup R
|
||||
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
|
||||
|
||||
- name: create source
|
||||
@ -119,7 +136,7 @@ jobs:
|
||||
needs: roxygen2, pkgbuild, check
|
||||
working-directory: R/phreeqc
|
||||
|
||||
- name: Document
|
||||
- name: roxygen2::roxygenise()
|
||||
run: roxygen2::roxygenise()
|
||||
working-directory: R/phreeqc
|
||||
shell: Rscript {0}
|
||||
@ -130,11 +147,17 @@ jobs:
|
||||
working-directory: R/phreeqc
|
||||
|
||||
- name: List files
|
||||
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
|
||||
run: |
|
||||
pwd
|
||||
ls -lR
|
||||
find -name "*.tar.gz"
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
|
||||
with:
|
||||
name: cran
|
||||
path: ${{ github.workspace }}/R/phreeqc/check/phreeqc_*.tar.gz
|
||||
|
||||
# r-build:
|
||||
# needs: [init]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user