aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-09-28 12:15:56 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-20 15:06:10 +0000
commit14f0a115e56d3635bd04f11ae464d1838cbefc8a (patch)
tree23f46c37bbfd4b95eedfddedf1046af5da36de58
parent3e1d286c529c3cace0231414810b22b8b20198fa (diff)
downloadaports-14f0a115e56d3635bd04f11ae464d1838cbefc8a.tar.bz2
aports-14f0a115e56d3635bd04f11ae464d1838cbefc8a.tar.xz
gitlab-ci: enable for 3.9-stable
-rw-r--r--.gitlab-ci.yml63
1 files changed, 63 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000..60e8694e55
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,63 @@
+stages:
+ - lint
+ - build
+
+lint:
+ stage: lint
+ image: alpinelinux/apkbuild-lint-tools:latest
+ script:
+ - changed-aports $CI_MERGE_REQUEST_TARGET_BRANCH_NAME | lint
+ allow_failure: true
+ only:
+ - merge_requests
+ 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
+
+build-aarch64:
+ extends: .build
+ artifacts:
+ name: MR${CI_MERGE_REQUEST_ID}_aarch64
+ tags:
+ - docker-alpine
+ - ci-build
+ - aarch64