summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: e6b9cf68164c69c970668b078cb3824ac14e03e5 (plain) (blame)
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
stages:
  - test

before_script:
  - uname -a

.job-artifacts: &job-artifacts
  artifacts:
    paths:
    - logs
    when: always
    expire_in: 3 week

test:commands:
  stage: test
  script:
  - ./.ci/install.sh git-core bash gcc g++ make autoconf automake autopoint gettext
  - ./.ci/run.sh ./getsrc.sh zlib
  - ls src/zlib
  - ./.ci/run.sh ./build.sh zlib
  - ls bin/zlib
  - ./.ci/run.sh ./clean.sh zlib
  - mkdir bin/zlib
  - ./.ci/run.sh ./updatesrc.sh zlib
  image: debian:unstable
  <<: *job-artifacts