Lines Matching +full:clang +full:- +full:3

7 #      http://www.apache.org/licenses/LICENSE-2.0
20 # The |CFG| variable name is hooked up by the perfetto-ci.appspot.com frontend.
21 # Please keep infra/perfetto-ci.appspot.com/ updated when adding/removing
27 # - os: osx
28 # osx_image: xcode8.3
29 # compiler: clang
30 # env: CFG=mac-clang-x86_64-release GN_ARGS="is_debug=false"
31 # - os: osx
32 # osx_image: xcode8.3
33 # compiler: clang
34 # env: CFG=mac-clang-x86_64-debug GN_ARGS="is_debug=true"
35 # - os: osx
36 # osx_image: xcode8.3
37 # compiler: clang
38 # env: CFG=mac-clang-x86_64-asan GN_ARGS="is_debug=false is_asan=true"
39 # - os: osx
40 # osx_image: xcode8.3
41 # compiler: clang
42 # env: CFG=mac-clang-x86_64-tsan GN_ARGS="is_debug=false is_tsan=true"
43 # - os: osx
44 # osx_image: xcode8.3
45 # compiler: clang
46 # env: CFG=mac-clang-x86_64-ubsan GN_ARGS="is_debug=false is_ubsan=true"
47 - os: linux
50 # Test the system-version of clang, not our own at least in this config.
54 - clang
55 env: CFG=linux_trusty-clang-x86_64-debug GN_ARGS="is_debug=true is_hermetic_clang=false"
56 - os: linux
59 compiler: clang
60 env: CFG=linux_trusty-clang-x86_64-tsan GN_ARGS="is_debug=false is_tsan=true"
61 - os: linux
64 compiler: clang
65 env: CFG=linux_trusty-clang-x86_64-msan GN_ARGS="is_debug=false is_msan=true"
67 # Re-enable once that is fixed.
68 - os: linux
71 compiler: clang
72 … env: CFG=linux_trusty-clang-x86_64-asan_lsan GN_ARGS="is_debug=false is_asan=true is_lsan=true"
73 - os: linux
79 - ubuntu-toolchain-r-test
81 - g++-7
82 …env: CFG=linux_trusty-gcc7-x86_64-release GN_ARGS="is_debug=false is_clang=false use_custom_libcxx…
83 - os: linux
86 compiler: clang
87 …env: CFG=android-clang-arm-release GN_ARGS="is_debug=false target_os=\"android\" target_cpu=\"arm\…
88 - os: linux
91 compiler: clang
92 …env: CFG=android-clang-arm-asan GN_ARGS="is_debug=false target_os=\"android\" target_cpu=\"arm\" i…
93 - os: linux
96 compiler: clang
97 …env: CFG=linux_trusty-clang-x86_64-libfuzzer GN_ARGS="is_clang=true is_debug=false is_fuzzer=true …
98 - os: linux
101 compiler: clang
102 env: CFG=ui-clang-x86_64-release GN_ARGS="is_debug=false is_clang=true"
103 - os: linux
106 compiler: clang
107 env: CFG=ui-clang-x86_64-debug GN_ARGS="is_debug=true is_clang=true"
110 # Cache the deps that get git-pulled to avoid hitting quota limits (b/68252114).
112 # Doing that is discouraged (https://docs.travis-ci.com/user/caching/).
116 - buildtools/android-core
117 - buildtools/benchmark
118 - buildtools/bionic
119 - buildtools/emulator
120 - buildtools/googletest
121 - buildtools/jsoncpp
122 - buildtools/libbacktrace
123 - buildtools/libcxx
124 - buildtools/libcxxabi
125 - buildtools/libfuzzer
126 - buildtools/libunwind
127 - buildtools/linenoise
128 - buildtools/lzma
131 - set -e
132 - echo "$CFG" && echo "$GN_ARGS"
133 - export ASAN_SYMBOLIZER_PATH="$(which llvm-symbolizer
134 || echo /usr/bin/llvm-symbolizer-*)"
135 - pip install --user protobuf
138 - |
139 if [[ "$CFG" == android-* ]]; then
140 tools/install-build-deps
141 elif [[ "$CFG" == ui-* ]]; then
142 tools/install-build-deps --no-android --ui
144 tools/install-build-deps --no-android
146 - |
147 if [[ -e buildtools/clang/bin/llvm-symbolizer ]]; then
148 export ASAN_SYMBOLIZER_PATH="buildtools/clang/bin/llvm-symbolizer"
152 - tools/gn gen out/dist --args="${GN_ARGS}" --check
153 - |
154 if [[ "$CFG" == ui-* ]]; then
155 tools/ninja -C out/dist ui 2>&1 | grep -v "no version information"
156 elif [[ "$CFG" == *-libfuzzer ]]; then
157 tools/ninja -C out/dist fuzzers
159 tools/ninja -C out/dist
161 - |
166 if [[ "$CFG" == ui-* ]]; then
167 out/dist/ui_unittests --ci
168 elif [[ "$CFG" == *-libfuzzer ]]; then
170 for fuzzer in $(find out/dist -name '*_fuzzer' -executable); do
171 $fuzzer -runs=1
173 elif [[ "$CFG" == android-* ]]; then
174 TARGET_ARCH=$(echo $CFG | cut -d- -f3)
175 tools/run_android_emulator --pid /tmp/emulator.pid -v &
179 … tools/run_android_test --env BENCHMARK_FUNCTIONAL_TEST_ONLY=true out/dist "perfetto_benchmarks"
186 tools/diff_test_trace_processor.py --test-type=queries out/dist/trace_processor_shell
187 tools/diff_test_trace_processor.py --test-type=metrics out/dist/trace_processor_shell
191 - test -f /tmp/emulator.pid && kill -9 $(cat /tmp/emulator.pid); true