diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-08-22 23:40:15 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-09-24 17:56:25 +0000 |
commit | b1d80679599cbafaffa42a521e9d04ebcc3635b0 (patch) | |
tree | 70ff983553989298164aea63b9bd7968d439fadf /.gitlab-ci.yml | |
parent | 8814d1feb6e1bf2bb8e51cc7ef25542db53d377a (diff) | |
download | alpine_aports-b1d80679599cbafaffa42a521e9d04ebcc3635b0.tar.bz2 alpine_aports-b1d80679599cbafaffa42a521e9d04ebcc3635b0.tar.xz alpine_aports-b1d80679599cbafaffa42a521e9d04ebcc3635b0.zip |
.gitlab-ci.yml: add ci jobs to build changed aports
Closes !74
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46af6eb290..9382d12472 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -1,5 +1,6 @@ | |||
1 | stages: | 1 | stages: |
2 | - lint | 2 | - lint |
3 | - build | ||
3 | 4 | ||
4 | # Make sure master points to the correct upstream commit | 5 | # Make sure master points to the correct upstream commit |
5 | before_script: | 6 | before_script: |
@@ -18,3 +19,42 @@ lint: | |||
18 | tags: | 19 | tags: |
19 | - docker-alpine | 20 | - docker-alpine |
20 | - x86_64 | 21 | - x86_64 |
22 | |||
23 | .build: | ||
24 | stage: build | ||
25 | image: alpinelinux/alpine-gitlab-ci:latest | ||
26 | script: | ||
27 | - build.sh | ||
28 | only: | ||
29 | - merge_requests | ||
30 | |||
31 | build-x86_64: | ||
32 | extends: .build | ||
33 | tags: | ||
34 | - docker-alpine | ||
35 | - ci-build | ||
36 | - x86_64 | ||
37 | |||
38 | build-x86: | ||
39 | extends: .build | ||
40 | image: | ||
41 | name: alpinelinux/alpine-gitlab-ci:latest-x86 | ||
42 | entrypoint: ["linux32", "sh", "-c"] | ||
43 | tags: | ||
44 | - docker-alpine | ||
45 | - ci-build | ||
46 | - x86 | ||
47 | |||
48 | build-s390x: | ||
49 | extends: .build | ||
50 | tags: | ||
51 | - docker-alpine | ||
52 | - ci-build | ||
53 | - s390x | ||
54 | |||
55 | build-ppc64le: | ||
56 | extends: .build | ||
57 | tags: | ||
58 | - docker-alpine | ||
59 | - ci-build | ||
60 | - ppc64le | ||