.gitlab-ci.yml 658 Bytes
Newer Older
1
2
3
4
image: debian:stretch-slim

before_script:
  - apt update
5
  - apt upgrade -y
6
  - apt install --no-install-recommends -y build-essential git autoconf libtool libsodium-dev automake libgcrypt20 libglib2.0-dev intltool libxml2-dev git libgcrypt20-dev
7
8
9
10
11

stages:
- build
- test

12
building:
13
14
15
16
17
18
  stage: build
  script:
    - autoreconf --install
    - ./configure
    - make
    - make install
19
20
  cache:
    key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
21

22
testing:
23
24
  stage: test
  script:
25
26
27
28
    - autoreconf --install
    - ./configure
    - make
    - make install
29
30
    - make -I tests/
    - ./tests/run.sh ./tests/test_list
31
32
  cache:
    key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"