-
Notifications
You must be signed in to change notification settings - Fork 52
/
cloudbuild.yaml
37 lines (37 loc) · 1.11 KB
/
cloudbuild.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
steps:
- name: 'gcr.io/cel-analysis/gcc-9@sha256:5c08ae90e33a33010c8e518173a926143ba029affb54ceec288f375f474ea87f'
args:
- '--output_base=/bazel' # This is mandatory to avoid steps accidently sharing data.
- 'test'
- '...'
- '--noenable_bzlmod'
- '--copt=-Wno-deprecated-declarations'
- '--compilation_mode=fastbuild'
- '--test_output=errors'
- '--show_timestamps'
- '--test_tag_filters=-benchmark,-notap'
- '--jobs=HOST_CPUS*.5'
- '--local_ram_resources=HOST_RAM*.4'
id: gcc-9
waitFor: ['-']
- name: 'gcr.io/cel-analysis/gcc-9@sha256:5c08ae90e33a33010c8e518173a926143ba029affb54ceec288f375f474ea87f'
env:
- 'CC=clang-11'
- 'CXX=clang++-11'
args:
- '--output_base=/bazel' # This is mandatory to avoid steps accidently sharing data.
- 'test'
- '...'
- '--noenable_bzlmod'
- '--copt=-Wno-deprecated-declarations'
- '--compilation_mode=fastbuild'
- '--test_output=errors'
- '--show_timestamps'
- '--test_tag_filters=-benchmark,-notap'
- '--jobs=HOST_CPUS*.5'
- '--local_ram_resources=HOST_RAM*.4'
id: clang-11
waitFor: ['-']
timeout: 1h
options:
machineType: 'E2_HIGHCPU_32'