File: .gitlab-ci.yml

package info (click to toggle)
libzn-poly 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 904 kB
  • sloc: ansic: 10,736; python: 124; makefile: 12; sh: 6
file content (25 lines) | stat: -rw-r--r-- 481 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
24
25
image: gcc

before_script:
  - apt-get update -qq && apt-get install -yqq libgmp-dev

build:
  stage: build
  script: 
    - ./configure --gmp-prefix=/usr
    - make
  artifacts:
    paths:
      - "makefile"
      - "src/tuning.c"
    expire_in: 1 week

# run tests using the binary built before
test:
  stage: test
  script:
    # Ignore prerequisites to src/tuning.c so that it doesn't get
    # unnecessarily rebuilt
    - make -o src/tuning.c check
  dependencies:
    - build