aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: d9783e62b069bd60087c9958e453ae52f6a5b93f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
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
  - wget "https://code.fe80.eu/$CI_NAMESPACE/libosmocore/-/jobs/artifacts/master/download?job=build-deb" -O libosmocore.zip

build:
  script:
  - unzip libosmocore.zip
  - mkdir -p debs/
  - dpkg-buildpackage -us -uc
  - mkdir debs/
  - cp ../*.deb ../*.dsc ../*.tar* ../*.buildinfo ../*changes debs/
  - ls -al ../
  artifacts:
    paths:
    - debs/libosmo-abis*