File: .gitlab-ci.yml

package info (click to toggle)
libuinputplus 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 104 kB
  • sloc: cpp: 394; makefile: 14
file content (72 lines) | stat: -rw-r--r-- 1,340 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
before_script:
  - apt update
  - apt install -y build-essential cmake git rpm

build:debian:9:
  stage: build
  image: debian:9
  artifacts:
    untracked: true
  script:
    - mkdir build
    - cd build
    - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS='-O1 -g' ..
    - make

package:debian:9:
  stage: deploy
  dependencies:
    - build:debian:9
  script:
    - cd build && make package
  artifacts:
    paths:
      - "build/*.deb"
      - "build/*.a"
      - "build/*.so.*.*.*"

build:ubuntu:18.04:
  stage: build
  image: ubuntu:18.04
  artifacts:
    untracked: true
  script:
    - mkdir build
    - cd build
    - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS='-O1 -g' ..
    - make

package:ubuntu:18.04:
  stage: deploy
  dependencies:
    - build:ubuntu:18.04
  script:
    - cd build && make package
  artifacts:
    paths:
      - "build/*.deb"
      - "build/*.a"
      - "build/*.so.*.*.*"

build:ubuntu:19.04:
  stage: build
  image: ubuntu:19.04
  artifacts:
    untracked: true
  script:
    - mkdir build
    - cd build
    - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS='-O1 -g' ..
    - make

package:ubuntu:19.04:
  stage: deploy
  dependencies:
    - build:ubuntu:19.04
  script:
    - cd build && make package
  artifacts:
    paths:
      - "build/*.deb"
      - "build/*.a"
      - "build/*.so.*.*.*"