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
|
- ./.gitlab/ci/build-host.sh
|
||||||
after_script:
|
after_script:
|
||||||
- cp -- "output/${PROFILE}/job-metrics" metrics.txt
|
- cp -- "output/${PROFILE}/job-metrics" metrics.txt
|
||||||
parallel:
|
|
||||||
matrix:
|
|
||||||
- PROFILE: [baseline, releng]
|
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "output"
|
name: "output"
|
||||||
paths:
|
paths:
|
||||||
@ -35,20 +32,29 @@ shellcheck:
|
|||||||
reports:
|
reports:
|
||||||
metrics: metrics.txt
|
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
|
extends: .build
|
||||||
tags:
|
tags:
|
||||||
- fast-single-thread
|
- fast-single-thread
|
||||||
except:
|
parallel:
|
||||||
- master@archlinux/archiso
|
matrix:
|
||||||
- schedules@archlinux/archiso
|
- PROFILE: baseline
|
||||||
- tags@archlinux/archiso
|
BUILDMODE:
|
||||||
|
- iso
|
||||||
build:secure:
|
- PROFILE: releng
|
||||||
extends: .build
|
BUILDMODE:
|
||||||
tags:
|
- iso
|
||||||
- secure
|
- netboot
|
||||||
only:
|
|
||||||
- master@archlinux/archiso
|
|
||||||
- schedules@archlinux/archiso
|
|
||||||
- tags@archlinux/archiso
|
|
||||||
|
Loading…
Reference in New Issue
Block a user