summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 3d91676c1a69577afa511b5d4ac875e6d312b3fb (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
image: debian:sid-slim

shellcheck:
  script:
    - apt-get update
    - apt-get dist-upgrade --yes
    - apt-get --no-install-recommends --yes install shellcheck
    - shellcheck debvm-*

codespell:
  script:
    - apt-get update
    - apt-get dist-upgrade --yes
    - apt-get --no-install-recommends --yes install codespell
    - codespell debvm-*

release_test:
  parallel:
    matrix:
      - RELEASE:
          - sid
          - bookworm
          - bullseye
          - buster
          - stretch
          - jessie
  script:
    - apt-get update
    - apt-get dist-upgrade --yes
    - apt-get --no-install-recommends --yes install e2fsprogs genext2fs mmdebstrap openssh-client sleepenh qemu-kvm
    - PATH=.:$PATH ./tests/create-and-run.sh -r "$RELEASE"

arch_test:
  parallel:
    matrix:
      - ARCHITECTURE:
          - arm64
          - armhf
          - i386
          - mips64el
          - mipsel
          - ppc64el
          - s390x
  script:
    - test -e /proc/sys/fs/binfmt_misc/status || mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
    - apt-get update
    - apt-get dist-upgrade --yes
    - apt-get --no-install-recommends --yes install e2fsprogs genext2fs mmdebstrap openssh-client sleepenh qemu-system binfmt-support arch-test qemu-user-static
    - PATH=.:$PATH ./tests/create-and-run.sh -a "$ARCHITECTURE"