-
Natanael Copa authored
We now have real riscv64 machines to run the CI jobs. Rename the job to reflect that and enable by default.
Natanael Copa authoredWe now have real riscv64 machines to run the CI jobs. Rename the job to reflect that and enable by default.
.gitlab-ci.yml 2.37 KiB
stages:
- verify
- trigger
variables:
GIT_STRATEGY: clone
GIT_DEPTH: "500"
# only rune pipelines for merge requests or when tags are pushed (for triggers)
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_TAG
lint:
stage: verify
image: alpinelinux/apkbuild-lint-tools:latest
interruptible: true
script:
- lint
allow_failure: true
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
tags:
- docker-alpine
- x86_64
.build:
stage: verify
image: alpinelinux/alpine-gitlab-ci:latest
interruptible: true
script:
- build.sh
artifacts:
paths:
- packages/
- keys/
- logs/
expire_in: 1 day
when: always
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
build-x86_64:
extends: .build
artifacts:
name: MR${CI_MERGE_REQUEST_ID}_x86_64
tags:
- docker-alpine
- ci-build
- x86_64
build-x86:
extends: .build
image:
name: alpinelinux/alpine-gitlab-ci:latest-x86
entrypoint: ["linux32", "sh", "-c"]
artifacts:
name: MR${CI_MERGE_REQUEST_ID}_x86
tags:
- docker-alpine
- ci-build
- x86
build-s390x:
extends: .build
artifacts:
name: MR${CI_MERGE_REQUEST_ID}_s390x
tags:
- docker-alpine