diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 73 |
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 |