blob: 7a60ba7d7d73887489822bfd3a34277fa91a1bb9 (
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
29
30
31
32
33
34
35
36
|
stages:
- Package
- Build
tarball:
stage: Package
image: alpine:latest
before_script:
- apk add --no-cache git make perl
script:
- git submodule sync
- git submodule update --init --recursive
- make -f tools/star/Makefile
- 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 xvf "$CI_PROJECT_DIR/release/rakudo-star-$CI_COMMIT_REF_NAME.tar.gz"
script:
- cd "rakudo-star-$CI_COMMIT_REF_NAME"
- perl Configure.pl --prefix=/usr/local --backend=moar --gen-moar
artifacts:
paths:
- "$CI_COMMIT_REF_NAME/release"
- /usr/local
# TODO: Run tests
# TODO: Release an updated Docker container
# TODO: Release the tarball to some Raku server
|