File: .gitlab-ci.yml

package info (click to toggle)
ltrace 0.7.91~git20230705.8eabf68-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,080 kB
  • sloc: ansic: 34,593; exp: 2,091; makefile: 343; cpp: 196; awk: 118; asm: 40; sh: 36; perl: 27
file content (27 lines) | stat: -rw-r--r-- 583 bytes parent folder | download
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
# Configure pre-commit CI via an MR to the project.
image: fedora:latest

# Only run the pipeline for an MR.
workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'

# We split this into 3 stages.
stages:
  - build
  - test

build-job:
  stage: build
  script:
    - dnf -y install git gcc automake autoconf libtool m4 elfutils-devel dejagnu
    - ./autogen.sh
    - ./configure
    - make
    - make install DESTDIR=/tmp/ltrace
    - echo "Successful build."

test-job:
  stage: test
  script:
    - echo "Skipping test for now until we make them container aware."