summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: d17f152ee8fd86f6bbb3ad8b50d0142da86cf88f (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
stages:
  - prepare

variables:
  GIT_SUBMODULE_STRATEGY: recursive

.prepare_config: &prepare_config
  stage: prepare
  script:
    - ./scripts/prep-librewolf-dpkg.sh

.prepare_debian: &prepare_debian
  variables:
    DISTRO: 'debian'
  artifacts:
    expire_in: 1w
    name: "librewolf-debian-prepared"
    paths:
      - "./**/librewolf*.dsc"
      - "./**/librewolf*.xz"

.prepare_ubuntu: &prepare_ubuntu
  variables:
    DISTRO: 'ubuntu'
  artifacts:
    expire_in: 1w
    name: "librewolf-ubuntu-prepared"
    paths:
      - "./**/librewolf*.dsc"
      - "./**/librewolf*.xz"

prepare_debian_x86_64:
  image: debian:sid
  tags: [docker]
  <<: *prepare_debian
  <<: *prepare_config
  only:
    variables:
      - $DEBIAN

prepare_ubuntu_x86_64:
  image: ubuntu:20.04
  tags: [docker]
  <<: *prepare_ubuntu
  <<: *prepare_config
  only:
    variables:
      - $UBUNTU
bgstack15