Skip to content
Permalink
Browse files

GitLab CI: Export variables for Drone compatibility

  • Loading branch information...
jhasse committed Mar 13, 2019
1 parent 5067673 commit ab38aa26813187be9a97d5d0fa1a3263ea4dc0d3
Showing with 3 additions and 6 deletions.
  1. +3 −6 .gitlab-ci.yml
@@ -3,15 +3,12 @@ clang:
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
variables:
CC: clang
CXX: clang++

variables:
TERM: xterm # Otherwise some tools won't display colored output

0 comments on commit ab38aa2

Please sign in to comment.
You can’t perform that action at this time.