summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 3342d51b4a090efc41f323f4e775953e9d2f5460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: gcc

stages:
  - test

before_script:
  - apt update && apt -y install autoconf automake libtool libgudev-1.0-dev
  - export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

test:
  stage: test
  script:
    - ./autogen.sh
    - make
    - make check
    - make install

test-mbim-qmux:
  stage: test
  script:
    - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
    - pushd libmbim
    - ./autogen.sh
    - make
    - make install
    - popd
    - ./autogen.sh --enable-mbim-qmux
    - make
    - make check
    - make install