Commit 26b0e4ed authored by Dorchies David's avatar Dorchies David

ci: rename build packages for differenciating R version they come from

Refs #55
parent 7b141734
Pipeline #12629 passed with stages
in 10 minutes and 44 seconds
......@@ -6,6 +6,7 @@ default:
before_script:
- echo "setwd(\"$(pwd)\")" > .Rprofile
- PATH=~/R/sources/R-${R_VERSION}/bin:$PATH
- rename "s/.${R_VERSION}.t/.t/" airGR_*.tar.gz
.build:
stage: build
......@@ -13,6 +14,7 @@ default:
- cd ..
- echo "setwd(\"$(pwd)\")" > .Rprofile
- R CMD build airgr
- rename "s/.t/.${R_VERSION}.t/" airGR_*.tar.gz
- mv *.tar.gz airgr/
artifacts:
untracked: true
......@@ -30,6 +32,7 @@ default:
script:
- R CMD check --as-cran airGR_*.tar.gz
build_patched:
variables:
R_VERSION: "patched"
......
Markdown is supported
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