Added armv7l to build

This commit is contained in:
Deon George 2019-01-28 11:32:01 +11:00
parent 81494e5c48
commit 805ab8ae63
1 changed files with 30 additions and 0 deletions

View File

@ -38,3 +38,33 @@ deploy:x86_64:
- reprepro -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro
build:armv7l:
image: ${CI_REGISTRY}/leenooks/ci-apt:armv7l
stage: build
script:
- apt-get update
- cd libcl; 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 -b /apt includedeb $(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) build/${CI_PROJECT_NAME}_${VERSION}*.deb
tags:
- reprepro