ci: Expand parallel matrix with build modes
.gitlab-ci.yml: Expand the parallel matrix with build modes per profile. Do not run netboot with the baseline profile, as codesigning is not supported yet (#132). Remove tagging secure, as archiso builds will only ever be used for testing the project. Build ISOs using fast-single-thread (they take very long otherwise and hit the job time limit) and use any available runner for anything else.
This commit is contained in:
parent
5630a23ba1
commit
f86cb0faa2
@ -24,9 +24,6 @@ shellcheck:
|
||||
- ./.gitlab/ci/build-host.sh
|
||||
after_script:
|
||||
- cp -- "output/${PROFILE}/job-metrics" metrics.txt
|
||||
parallel:
|
||||
matrix:
|
||||
- PROFILE: [baseline, releng]
|
||||
artifacts:
|
||||
name: "output"
|
||||
paths:
|
||||
@ -35,20 +32,29 @@ shellcheck:
|
||||
reports:
|
||||
metrics: metrics.txt
|
||||
|
||||
build:
|
||||
build_short:
|
||||
extends: .build
|
||||
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
|
||||
|
||||
build_long:
|
||||
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
|
||||
parallel:
|
||||
matrix:
|
||||
- PROFILE: baseline
|
||||
BUILDMODE:
|
||||
- iso
|
||||
- PROFILE: releng
|
||||
BUILDMODE:
|
||||
- iso
|
||||
- netboot
|
||||
|
Loading…
Reference in New Issue
Block a user