Skip to content

Commit 8d9356e

Browse files
committed
Syntax checking as part of CI pipeline.
1 parent 67691a9 commit 8d9356e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,11 @@ output:
5656
- export OUTPUT_INSTRUMENT=yes
5757
- export STDERR_OUTPUT_IS_ERROR=no
5858
- make all
59+
60+
syntax:
61+
image: ubuntu:24.04
62+
script:
63+
- apt update
64+
- DEBIAN_FRONTEND=noninteractive apt install -y tzdata
65+
- apt install -y python3
66+
- python3 syntax/check.py -r syntax/opdi.syntax.json tests macroexample.cpp omptexample.cpp

0 commit comments

Comments
 (0)