aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: f8cbbb86accaff3efa91f077b7f0b2f70d5f8738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
stages:
  - 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
  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
  artifacts:
    paths:
      - release