Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 95d688e896bb414fb1fcce848c759ccaa8843b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
#
# 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:
    - echo "image_size_mebibytes{image=\"${PROFILE}\"} $(du -m output/${PROFILE}/*iso)" > 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