diff options
author | Patrick Spek <p.spek@tyil.nl> | 2019-10-30 16:20:14 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2019-10-30 16:20:14 +0100 |
commit | 1cc72251adecbe640b804d426f23e0ab22c800e6 (patch) | |
tree | 38b4b97b08d95a8e556371effce001c8be2399c0 | |
parent | 4c5bdfbe7dab4f62f269f6e9ff5e434f234a1bc8 (diff) |
Update GitLab CI configuration
-rw-r--r-- | .gitlab-ci.yml | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8cbbb8..35109e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,28 +1,31 @@ stages: + - Package - Build - - Release - -#moar: -# stage: Build -# image: alpine:latest -# before_script: -# - apk add --no-cache bash build-base git perl -# script: -# - perl Configure.pl --prefix=/usr/local --backend=moar --gen-moar -# artifacts: -# paths: -# - /usr/local tarball: - stage: Release - image: registry.gitlab.com/tyil/docker-perl6:alpine-dev-latest + stage: Package + image: alpine:latest before_script: - apk add --no-cache git script: - git submodule sync - git submodule update --init --recursive - git submodule foreach git pull origin master - - make -f tools/star/Makefile release VERSION=$CI_COOMIT_REF_NAME + - make -f tools/star/Makefile release VERSION=$CI_COMMIT_REF_NAME artifacts: paths: - release + +moar: + stage: Build + image: alpine:latest + before_script: + - apk add --no-cache bash build-base git perl + - cd "$(mktemp -d)" + - tar xf "$CI_PROJECT_DIR/release/rakudo-star-$CI_COMMIT_REF_NAME.tar.gz" + script: + - perl Configure.pl --prefix=/usr/local --backend=moar --gen-moar + artifacts: + paths: + - "$CI_COMMIT_REF_NAME/release" + - /usr/local |