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 stage: prepare script: - ./scripts/prep-librewolf-dpkg.sh artifacts: expire_in: 1d name: "librewolf-debian-prepared" paths: - "./**/librewolf*.dsc" - "./**/librewolf*.xz" .debian_build_config: &debian_build_config stage: build script: - ./scripts/build-librewolf-dpkg.sh artifacts: name: "librewolf-${pkgver}-${pkgrel}_${CARCH}" paths: - "./**/librewolf-${pkgver}-${pkgrel}*.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 prepare_debian_x86_64: image: debian:sid tags: [x86_64b] <<: *carch_x86_64 <<: *debian_prepare_config only: variables: - $X86_64 prepare_debian_aarch64: image: arm64v8/ubuntu:16.04 tags: [aarch64b] <<: *carch_aarch64 <<: *debian_prepare_config only: variables: - $AARCH64