Skip to content

Commit 7667f98

Browse files
committed
Add a Gitlab CI to run the GNATcheck internal testsuite
1 parent b1ac3ff commit 7667f98

File tree

2 files changed

+32
-10
lines changed

2 files changed

+32
-10
lines changed

Diff for: .gitlab-ci.plan

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ def lkql_native_jit():
1616
install()
1717
anod_test("lkql", qualifier="implementation=native_jit")
1818
anod_test("gnatcheck", qualifier="implementation=native_jit")
19+
20+
def gnatcheck_internal_testsuite():
21+
install()
22+
anod_test("gnatcheck", qualifier="implementation=native_jit,internal")

Diff for: .gitlab-ci.yml

+28-10
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,43 @@
11
stages:
22
- test
33

4-
test:
4+
# Common part for all testing CIs
5+
.common-test-part: &common-test-part
56
services:
6-
- image:e3
7-
- cpu:8
7+
- image:e3
8+
- cpu:8
9+
- mem:32
10+
- disk:100
811
stage: test
912
interruptible: true
10-
rules:
11-
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
1213
script:
1314
- generic_anod_ci
1415
- cat /tmp/ci_env.sh
1516
- . /tmp/ci_env.sh
1617

17-
- anod run --plan .gitlab-ci.plan $LKQL_VARIANT
18+
- anod run --plan .gitlab-ci.plan $PLAN_ENTRY
1819
- testsuite_reports
19-
20-
parallel:
21-
matrix:
22-
- LKQL_VARIANT: [lkql_jit, lkql_native_jit]
2320
artifacts:
2421
reports:
2522
junit: xunit-*.xml
23+
24+
# CIs that are run automatically on each merge request event
25+
test:
26+
<<: *common-test-part
27+
rules:
28+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
29+
parallel:
30+
matrix:
31+
- PLAN_ENTRY: [lkql_jit, lkql_native_jit]
32+
33+
# CIs that are triggered manually
34+
optional:
35+
<<: *common-test-part
36+
rules:
37+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
38+
when: manual
39+
allow_failure: true
40+
timeout: 2 hours
41+
parallel:
42+
matrix:
43+
- PLAN_ENTRY: [gnatcheck_internal_testsuite]

0 commit comments

Comments
 (0)