Commit 991b0d9c authored by jfuser's avatar jfuser
Browse files

update CI

parent d816918d
Pipeline #294 failed
package:
stages:
- build
- test
- packages
r-build:
stage: build
tags:
- "r-base-biosp"
script:
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
artifacts:
paths:
- "$(ls -rt landsepi_*.tar.gz |tail -1)"
r-test:
stage: test
tags:
- "r-base-biosp"
script:
- "R CMD check --as-cran $(ls -rt landsepi_* |tail -1)"
artifacts:
paths:
- "$(ls -rt landsepi_*.tar.gz |tail -1)"
dependencies:
- r-build
package-devel:
r-devel-build:
stage: build
tags:
- "r-devel-biosp"
script:
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
artifacts:
paths:
- "$(ls -rt landsepi_*.tar.gz |tail -1)"
r-devel-test:
stage: test
tags:
- "r-devel-biosp"
script:
- "R CMD check --as-cran $(ls -rt landsepi_* |tail -1)"
dependencies:
- r-devel-build
package-Mac-base:
r-Mac-build:
stage: build
tags:
- "Mac"
- "R"
script:
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
artifacts:
path:
- "$(ls -rt landsepi_*.tar.gz |tail -1)"
r-Mac-test:
stage: test
tags:
- "Mac"
- "R"
script:
- "R CMD check --as-cran $(ls -rt landsepi_* |tail -1)"
dependencies:
- r-Mac-build
artifacts:
path:
- "$(ls -rt landsepi_*.tar.gz |tail -1)"
package-windows:
r-windows-build:
stage: build
tags:
- "win10"
- "R"
......@@ -31,50 +80,64 @@ package-windows:
script:
- "Rscript -e \"roxygen2::roxygenize('.',roclets=c('rd','collate','namespace'))\""
- "R CMD build . --resave-data"
- "R CMD INSTALL --build --force-biarch $(ls -rt landsepi_*.tar.gz |tail -1)"
artifacts:
path:
- "$(ls -rt landsepi_*.tar.gz |tail -1)"
r-windows-test:
stage: test
tags:
- "win10"
- "R"
- "binaries"
script:
- "R CMD check --as-cran $(ls -rt landsepi_* |tail -1)"
dependencies:
- r-windows-build
artifacts:
path:
- "$(ls -rt landsepi_*.tar.gz |tail -1)"
release-win:
variables:
CI_DEBUG_TRACE: "true"
stage: packages
tags:
- "win10"
- "R"
- "binaries"
script:
- "Rscript -e \"roxygen2::roxygenize('.',roclets=c('rd','collate','namespace'))\""
- "R CMD build . --resave-data"
- "R CMD INSTALL --build --force-biarch $(ls -rt landsepi_*.tar.gz |tail -1)"
artifacts:
paths:
- "$(ls -rt landsepi_*.zip |tail -1)"
only:
- tags
dependencies:
- r-windows-test
release-package:
stage: packages
tags:
- "r-base-biosp"
script:
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
- "R CMD check --as-cran $(ls -rt landsepi_* |tail -1)"
artifacts:
paths:
- "$(ls -rt landsepi_* |tail -1)"
only:
- tags
dependencies:
- r-test
release-Mac:
stage: packages
tags:
- "Mac"
- "R"
script:
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data"
- "R CMD INSTALL --build $(ls -rt landsepi_*.tar.gz |tail -1)"
artifacts:
paths:
- "$(ls -rt landsepi_*.tgz | tail -1)"
only:
- tags
dependencies:
- r-Mac-test
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment