2020-06-25 23:01:54 +02:00
|
|
|
---
|
2020-05-30 00:01:28 +02:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-06-25 23:01:54 +02:00
|
|
|
|
|
|
|
default:
|
2021-01-31 16:28:57 +01:00
|
|
|
image: "archlinux:latest"
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- lint
|
|
|
|
- build
|
|
|
|
|
|
|
|
shellcheck:
|
|
|
|
stage: lint
|
2020-06-25 23:01:54 +02:00
|
|
|
before_script:
|
2021-01-31 16:28:57 +01:00
|
|
|
- pacman --noconfirm -Syu --needed make shellcheck
|
|
|
|
script:
|
|
|
|
- make lint
|
2020-06-25 23:01:54 +02:00
|
|
|
|
2021-01-31 16:28:57 +01:00
|
|
|
.build:
|
2020-06-25 23:01:54 +02:00
|
|
|
stage: build
|
2021-01-31 16:28:57 +01:00
|
|
|
before_script:
|
|
|
|
- pacman -Syu --needed --noconfirm qemu-headless libisoburn
|
2020-06-25 23:01:54 +02:00
|
|
|
script:
|
2021-01-31 16:28:57 +01:00
|
|
|
- ./.gitlab/ci/build-host.sh
|
|
|
|
after_script:
|
2021-04-02 11:23:18 +02:00
|
|
|
- cp -- "output/${PROFILE}/job-metrics" metrics.txt
|
2021-01-31 16:28:57 +01:00
|
|
|
artifacts:
|
|
|
|
name: "output"
|
|
|
|
paths:
|
|
|
|
- "output/*/*"
|
|
|
|
expire_in: 2d
|
|
|
|
reports:
|
|
|
|
metrics: metrics.txt
|
|
|
|
|
2021-05-10 22:57:20 +02:00
|
|
|
build_short:
|
2021-01-31 16:28:57 +01:00
|
|
|
extends: .build
|
2021-05-10 22:57:20 +02:00
|
|
|
parallel:
|
|
|
|
matrix:
|
|
|
|
# baseline does not support netboot with codesinging
|
|
|
|
# https://gitlab.archlinux.org/archlinux/archiso/-/issues/132
|
|
|
|
- PROFILE: baseline
|
|
|
|
BUILDMODE:
|
|
|
|
- bootstrap
|
|
|
|
- PROFILE: releng
|
|
|
|
BUILDMODE:
|
|
|
|
- bootstrap
|
2021-01-31 16:28:57 +01:00
|
|
|
|
2021-05-10 22:57:20 +02:00
|
|
|
build_long:
|
2021-01-31 16:28:57 +01:00
|
|
|
extends: .build
|
|
|
|
tags:
|
2021-05-10 22:57:20 +02:00
|
|
|
- fast-single-thread
|
|
|
|
parallel:
|
|
|
|
matrix:
|
|
|
|
- PROFILE: baseline
|
|
|
|
BUILDMODE:
|
|
|
|
- iso
|
|
|
|
- PROFILE: releng
|
|
|
|
BUILDMODE:
|
|
|
|
- iso
|
|
|
|
- netboot
|