summarylogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 52eab9265ecf7735e3460d70eefc17558ae75dc4 (plain)
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
include:
  - project: "common/gitlab-helper"
    ref: master
    file: "ci-helper.yml"

workflow: !reference [ .common, workflow ]

variables:
  PKG_NAME: "gnudatalanguage"

stages:
  - containerize
  - extract
  - build
  - test
  - deploy

container-build-and-test:
  extends: .arch-containerize
  needs: []

extract-gnudatalanguage:
  extends: .arch-extract-only
  needs:
    - job: "container-build-and-test"
      artifacts: no
    
build-gnudatalanguage:
  artifacts:
    paths:
      - $PKG_NAME*.pkg.tar.zst
      - src/gdl-v1.0.4/build/Testing/Temporary/LastTest.log
    when: always
  before_script:
    - sed -i "s/^tolerance=0.01/tolerance=${TOLERANCE:-0.01}/" src/gdl-v1.0.4/testsuite/test_tic_toc.pro
  extends: .arch-buildx-only
  needs: ["extract-gnudatalanguage"]
  
test-gnudatalanguage:
  extends: .arch-test
  needs: ["build-gnudatalanguage"]

deploy-gnudatalanguage:
  extends: .arch-deploy