File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 0.2
2
+ # this buildspec assumes the ubuntu 14 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
+ - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "/tmp/awscliv2.zip"
12
+ - unzip -q -d /tmp /tmp/awscliv2.zip
13
+ - sudo /tmp/aws/install
14
+
15
+ pre_build :
16
+ commands :
17
+ - export CC=clang-6.0
18
+ - export CXX=clang++-6.0
19
+ - export CLANG_FORMAT=clang-format-6.0
20
+ build :
21
+ commands :
22
+ - echo Build started on `date`
23
+ - aws s3 cp s3://aws-crt-test-stuff/setup_proxy_test_env.sh /tmp/setup_proxy_test_env.sh
24
+ - sudo chmod a+xr /tmp/setup_proxy_test_env.sh
25
+ - ./codebuild/common-posix.sh -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_FUZZ_TESTS=ON
26
+ - ./format-check.sh
27
+ post_build :
28
+ commands :
29
+ - echo Build completed on `date`
30
+
You can’t perform that action at this time.
0 commit comments