Debian Codegraph @

crt/aws-c-compression/codebuild/linux-clang6-x64.yml

raw symbols SCIP
1 version: 0.2
2 #this buildspec assumes the ubuntu 14.04 trusty image
3 phases:
4 install:
5 commands:
6 - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
7 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test
8 - sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main"
9 - sudo apt-get update -y
10 - sudo apt-get install clang-6.0 cmake3 clang-tidy-6.0 clang-format-6.0 -y -f
11
12 pre_build:
13 commands:
14 - export CC=clang-6.0
15 - export CLANG_FORMAT=clang-format-6.0
16 build:
17 commands:
18 - echo Build started on `date`
19 - ./codebuild/common-posix.sh -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_FUZZ_TESTS=ON
20 - clang-tidy-6.0 -p=build **/*.c
21 - ./format-check.sh
22 post_build:
23 commands:
24 - echo Build completed on `date`
25