This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-qico/.gitlab-deb-armv7l.yml

35 lines
822 B
YAML

build:armv7l:
image: ${CI_REGISTRY}/leenooks/ci-apt:armv7l-${DISTRO}
stage: build
script:
- apt-get update
- apt-get install -y make gcc zlib1g-dev libperl-dev libbz2-dev ncurses-dev automake flex bison
- git clone https://github.com/leenooks/qico
- cd qico
- git archive --format=tar HEAD |gzip -9 > ../${CI_PROJECT_NAME}_${VERSION}.orig.tar.gz
- dpkg-buildpackage -us -uc
- cd ..
- mkdir build
- ls -al ./
- mv ./${CI_PROJECT_NAME}*.deb ./build/
tags:
- apt
- armv7l
only:
- master
artifacts:
paths:
- build/*deb
expire_in: 1 week
deploy:armv7l:
stage: deploy
dependencies:
- build:armv7l
only:
- master
script:
- reprepro.exp -- -b /apt includedeb ${DISTRO} build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro