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
|
|
|
parallel:
|
|
|
|
matrix:
|
|
|
|
- PROFILE: [baseline, releng]
|
|
|
|
artifacts:
|
|
|
|
name: "output"
|
|
|
|
paths:
|
|
|
|
- "output/*/*"
|
|
|
|
expire_in: 2d
|
|
|
|
reports:
|
|
|
|
metrics: metrics.txt
|
|
|
|
|
|
|
|
build:
|
|
|
|
extends: .build
|
|
|
|
tags:
|
|
|
|
- fast-single-thread
|
|
|
|
except:
|
2021-03-14 11:27:30 +01:00
|
|
|
- master@archlinux/archiso
|
|
|
|
- schedules@archlinux/archiso
|
|
|
|
- tags@archlinux/archiso
|
2021-01-31 16:28:57 +01:00
|
|
|
|
|
|
|
build:secure:
|
|
|
|
extends: .build
|
|
|
|
tags:
|
|
|
|
- secure
|
|
|
|
only:
|
2021-03-14 11:27:30 +01:00
|
|
|
- master@archlinux/archiso
|
|
|
|
- schedules@archlinux/archiso
|
|
|
|
- tags@archlinux/archiso
|