0ed1c61f1f
Metrics are now collected in build-inside-vm.sh since the files in question are in the work directory. Implements #101 and #111.
55 lines
962 B
YAML
55 lines
962 B
YAML
---
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
default:
|
|
image: "archlinux:latest"
|
|
|
|
stages:
|
|
- lint
|
|
- build
|
|
|
|
shellcheck:
|
|
stage: lint
|
|
before_script:
|
|
- pacman --noconfirm -Syu --needed make shellcheck
|
|
script:
|
|
- make lint
|
|
|
|
.build:
|
|
stage: build
|
|
before_script:
|
|
- pacman -Syu --needed --noconfirm qemu-headless libisoburn
|
|
script:
|
|
- ./.gitlab/ci/build-host.sh
|
|
after_script:
|
|
- cp -- "output/${PROFILE}/job-metrics" metrics.txt
|
|
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:
|
|
- master@archlinux/archiso
|
|
- schedules@archlinux/archiso
|
|
- tags@archlinux/archiso
|
|
|
|
build:secure:
|
|
extends: .build
|
|
tags:
|
|
- secure
|
|
only:
|
|
- master@archlinux/archiso
|
|
- schedules@archlinux/archiso
|
|
- tags@archlinux/archiso
|