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 | aports-b1d80679599cbafaffa42a521e9d04ebcc3635b0.tar.bz2 aports-b1d80679599cbafaffa42a521e9d04ebcc3635b0.tar.xz |
.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 @@ stages: - lint + - build # Make sure master points to the correct upstream commit before_script: @@ -18,3 +19,42 @@ lint: tags: - docker-alpine - x86_64 + +.build: + stage: build + image: alpinelinux/alpine-gitlab-ci:latest + script: + - build.sh + only: + - merge_requests + +build-x86_64: + extends: .build + tags: + - docker-alpine + - ci-build + - x86_64 + +build-x86: + extends: .build + image: + name: alpinelinux/alpine-gitlab-ci:latest-x86 + entrypoint: ["linux32", "sh", "-c"] + tags: + - docker-alpine + - ci-build + - x86 + +build-s390x: + extends: .build + tags: + - docker-alpine + - ci-build + - s390x + +build-ppc64le: + extends: .build + tags: + - docker-alpine + - ci-build + - ppc64le |