summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 5628f8b44df2d4f345c0a73da3ae18ad100bbeee (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
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"
      - "./**/Cargo.toml"

.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: [x86_64b]
  <<: *prepare_debian
  <<: *prepare_config
  only:
    variables:
      - $DEBIAN

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