diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 15f195e49876bb3d497b2acd2c473998c724d3e5..cdcabf3a3219af3b221ee8b276cf818aac2a822e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"