File: salsa-ci.yml

package info (click to toggle)
crystal-facet-uml 1.27.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,216 kB
  • sloc: ansic: 86,801; xml: 2,235; cpp: 60; makefile: 54; sh: 7
file content (23 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: gcc

before_script:
  - apt update && apt -y install cmake make libgtk-3-dev libsqlite3-dev devscripts build-essential gcc

build:
  stage: build
  script:
    - debian/rules get-orig-source
    - ( cd .. && tar --strip=1 --one-top-level=crystal-facet-uml -xzf crystal-facet-uml_*.orig.tar.gz )
    - debuild --diff-ignore='^(\.git.*|.*\.yml)$' --lintian-opts -i --pedantic
    - cp ../crystal-facet-uml_*.deb .
  artifacts:
    paths:
      - crystal-facet-uml
      - test_crystal-facet-uml
      - crystal-facet-uml_*.deb

# run tests using the binary built before
test:
  stage: test
  script:
    - (chmod u+x test_crystal-facet-uml && ./test_crystal-facet-uml -a)