index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | .gitlab-ci.yml | 47 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e69ab5e..c674294 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,46 @@ --- +# +# SPDX-License-Identifier: GPL-3.0-or-later -default: - image: archlinux/base - before_script: - - pacman --noconfirm -Syu --needed base-devel shellcheck +# NOTE: most functionality (apart from building) is abstracted by this include +include: + - project: 'archlinux/ci-scripts' + ref: master + file: '/prepare_archiso_vm.yml' + +variables: + BUILD_SCRIPT: ./.gitlab/ci/build_archiso.sh + PACKAGE_LIST: dosfstools e2fsprogs erofs-utils jq libisoburn mtools openssl qemu-headless squashfs-tools zsync + QEMU_BUILD_TIMEOUT: 2400 + QEMU_COPY_ARTIFACTS_TIMEOUT: 120 + QEMU_VM_MEMORY: 3072 + ARCHISO_COW_SPACE_SIZE: 2g + +stages: + - check + - build -lint: - stage: build +check: + before_script: + - pacman --noconfirm -Syu --needed make shellcheck script: - make check + stage: check + +build_short: + extends: .build + parallel: + matrix: + - BUILD_SCRIPT_ARGS: baseline bootstrap + - BUILD_SCRIPT_ARGS: releng bootstrap + +build_long: + extends: .build + parallel: + matrix: + - BUILD_SCRIPT_ARGS: baseline iso + - BUILD_SCRIPT_ARGS: baseline netboot + - BUILD_SCRIPT_ARGS: releng iso + - BUILD_SCRIPT_ARGS: releng netboot + tags: + - fast-single-thread |