aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-04-12 23:45:09 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-04-12 23:45:09 +0200
commit685da323f5aec347d96e0a38d205d1f7d539b0fd (patch)
tree20ad2f7362a8a19f66636d9aa1aeb78ef2e33894
parent2c24b30ef9953945178b9a471349c735d99eeb32 (diff)
test local repos
-rw-r--r--.gitlab-ci.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b6d18a8..cea3d1d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,16 +3,19 @@ image: debian:buster
before_script:
- apt-get update
- - apt-get install -y dpkg-dev devscripts pbuilder wget
- - apt-get install -y build-essential git automake libdbi-dev libdbd-sqlite3 sqlite3 libsctp-dev libortp-dev libpcap-dev libc-ares-dev libtool shtool pkg-config libtalloc-dev libpcsclite-dev libgnutls28-dev libmnl-dev libssl-dev libczmq-dev libsofia-sip-ua-glib-dev libsqlite3-dev libasound2-dev libusb-1.0-0-dev doxygen dahdi-source
+ - apt-get install -y dpkg-dev devscripts pbuilder wget git
- wget "https://code.fe80.eu/$CI_PROJECT_NAMESPACE/libosmocore/-/jobs/artifacts/master/download?job=build-deb" -O libosmocore.zip
+ - unzip libosmocore.zip
+ - cd debs/ && dpkg-scanpackages . > Packages
+ - echo 'deb [trusted=yes] file://$PWD/debs ./' > /etc/apt/sources.list.d/local.list
+ - apt-get update
build:
script:
- - unzip libosmocore.zip
- - dpkg -i debs/libosmocore*.deb
+ - mk-build-deps -i
- dpkg-buildpackage -us -uc
- - mkdir debs/
+ - rm -rf debs/
+ - mkdir -p debs/
- cp ../*.deb ../*.dsc ../*.tar* ../*.buildinfo ../*changes debs/
- ls -al ../
artifacts: