diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-11-12 20:36:08 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-11-12 20:36:08 +0100 |
commit | 5849c96fa6a058a8e3d79a17e0de845ab4d03fc8 (patch) | |
tree | 0538fa597f84e28335f6d7ddf2ba03f9edf0a7c9 /.gitlab-ci.yml | |
parent | 95e89dee79200e1ea75b1ef976a30bf6b61e23a7 (diff) |
Rewrite module
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..636a4d1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,55 @@ +stages: + - Test + - Release + +# +# Tests +# + +Prove: + stage: Test + except: + - master + image: registry.gitlab.com/tyil/docker-perl6:debian-dev-latest + variables: + ASSIXT_TESTING_SILENT: "1" + cache: + key: ${CI_COMMIT_REF_NAME} + paths: + - /usr/local/share/perl6/site + before_script: + - apt update + - apt install -y build-essential + - zef install App::Prove6 + - zef install --deps-only --test-depends --/test . + script: prove6 -l + +RakuDist: + stage: Test + image: alpine + before_script: + - apk add --no-cache curl + script: + - curl -d thing="$CI_PROJECT_URL" -d sha="$CI_COMMIT_SHA" https://rakudist.raku.org/queue + +# +# Release targets +# + +Distribution: + stage: Release + only: + refs: + - tags + - master + image: rakudo-star + script: + - echo "NOOP" + artifacts: + name: App-CPAN-${CI_COMMIT_TAG} + paths: + - META6.json + - lib + - bin + - t + - resources |