summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2021-03-12 11:44:22 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2021-03-12 11:44:36 +0100
commitde7ce169ef83be90c6c5d22f374e1702cba33ccc (patch)
tree299ea65a088cda82b7e463a7be6642ea96b93d71 /.gitlab-ci.yml
parentMerge branch 'ubuntu2004' into 'master' (diff)
downloadlibrewolf-debian-de7ce169ef83be90c6c5d22f374e1702cba33ccc.tar.gz
librewolf-debian-de7ce169ef83be90c6c5d22f374e1702cba33ccc.tar.bz2
librewolf-debian-de7ce169ef83be90c6c5d22f374e1702cba33ccc.zip
drop building on our end; simplify ci yml; allow distro specific prepare builds
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml73
1 files changed, 22 insertions, 51 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6903851..a2e73ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,77 +1,48 @@
stages:
- prepare
- - build
variables:
GIT_SUBMODULE_STRATEGY: recursive
-# variables:
- # pkgver: $PKGVER
- # pkgrel: $PKGREL
- # AARCH64: $AARCH64
- # X86_64: $X86_64
- # GLOBAL_MENUBAR: $GLOBAL_MENUBAR
-.carch_aarch64: &carch_aarch64
- variables:
- CARCH: 'aarch64'
-
-.carch_x86_64: &carch_x86_64
- variables:
- CARCH: 'x86_64'
-
-.debian_prepare_config: &debian_prepare_config
+.prepare_config: &prepare_config
stage: prepare
script:
- ./scripts/prep-librewolf-dpkg.sh
+
+.prepare_debian: &prepare_debian
+ variables:
+ DISTRO: 'debian'
artifacts:
- expire_in: 1d
+ expire_in: 1w
name: "librewolf-debian-prepared"
paths:
- "./**/librewolf*.dsc"
- "./**/librewolf*.xz"
-.debian_build_config: &debian_build_config
- stage: build
- script:
- - ./scripts/build-librewolf-dpkg.sh
+.prepare_ubuntu: &prepare_ubuntu
+ variables:
+ DISTRO: 'ubuntu'
artifacts:
- name: "librewolf-${pkgver}-${pkgrel}"
+ expire_in: 1w
+ name: "librewolf-ubuntu-prepared"
paths:
- - "../**/librewolf_*.deb"
- - "../**/librewolf-l10n-*.deb"
-
-build_debian_x86_64:
- image: debian:sid
- tags: [x86_64b]
- <<: *carch_x86_64
- <<: *debian_build_config
- only:
- variables:
- - $X86_64
-
-build_debian_aarch64:
- image: arm64v8/ubuntu:16.04
- tags: [aarch64b]
- <<: *carch_aarch64
- <<: *debian_build_config
- only:
- variables:
- - $AARCH64
+ - "./**/librewolf*.dsc"
+ - "./**/librewolf*.xz"
prepare_debian_x86_64:
image: debian:sid
tags: [x86_64b]
- <<: *carch_x86_64
- <<: *debian_prepare_config
+ <<: *prepare_debian
+ <<: *prepare_config
only:
variables:
- - $X86_64
+ - $DEBIAN
-prepare_debian_aarch64:
- image: arm64v8/ubuntu:16.04
- tags: [aarch64b]
- <<: *carch_aarch64
- <<: *debian_prepare_config
+prepare_ubuntu_x86_64:
+ image: ubuntu:20.04
+ tags: [x86_64b]
+ <<: *prepare_ubuntu
+ <<: *prepare_config
only:
variables:
- - $AARCH64
+ - $UBUNTU
bgstack15