xref: /aosp_15_r20/external/aws-crt-java/codebuild/linux-clang3-x64.yml (revision 3c7ae9de214676c52d19f01067dc1a404272dc11)
1version: 0.2
2#this buildspec assumes the ubuntu aws/codebuild/java:openjdk-8 image
3phases:
4  install:
5    commands:
6      - sudo apt-get update -y
7      - sudo apt-get install clang-3.9 cmake3 ninja-build -y
8  pre_build:
9    commands:
10      - export CC=clang-3.9
11  build:
12    commands:
13      - echo Build started on `date`
14      - $CODEBUILD_SRC_DIR/codebuild/common-linux.sh -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
15  post_build:
16    commands:
17      - echo Build completed on `date`
18
19artifacts:
20  discard-paths: yes
21  files: 
22    - 'target/surefire-reports/**'
23    - 'hs_err_pid*'
24    - 'core*'
25