forked from wxFormBuilder/wxFormBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
14 lines (14 loc) · 707 Bytes
/
.gitlab-ci.yml
File metadata and controls
14 lines (14 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clang:
image: fedora:29
stage: build
script:
- dnf install -qy meson clang wxGTK3-devel clang-tools-extra python3-PyYAML git
- export CC=clang
- export CXX=clang++
- export TERM=xterm # Otherwise some tools won't display colored output
- script -qfec "meson build" # script to emulate a interactive terminal for colored output
- cd build
- script -qfec "ninja"
- sed -i s/-pipe// compile_commands.json # https://github.com/mesonbuild/meson/issues/2383#issuecomment-334621153
- script -qfec "python3 /usr/share/clang/run-clang-tidy.py -header-filter=src/ 2>/dev/null" | sed s_$PWD/__
- '! grep -Fq "error:" typescript' # run-clang-tidy.py doesn't fail on errors