-
Notifications
You must be signed in to change notification settings - Fork 662
Expand file tree
/
Copy pathcfsetup.yaml
More file actions
44 lines (39 loc) · 2.56 KB
/
Copy pathcfsetup.yaml
File metadata and controls
44 lines (39 loc) · 2.56 KB
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
38
39
40
41
42
43
44
default-flavor: trixie
trixie: &default-build
build:
base_image: &ci-image-bazel-amd64 docker-registry.cfdata.org/stash/ew/edgeworker-dev-images/edgeworker-ci-image-bazel-trixie/main:78-f817e2dff272-amd64
tmpfs_tmp: true
post-cache:
- /bin/true
ci-bazel-x64:
nosubmodule: true
base_image: *ci-image-bazel-amd64
tmpfs_tmp: true
post-cache:
- &pre-bazel-install-deps sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --update clang-19 lld-19 libc++-19-dev libc++abi-19-dev python3 tcl8.6 build-essential libclang-rt-19-dev
- &pre-bazel-write-gcp-creds python3 -c 'import os; p="/tmp/bazel_cache_gcp_creds.json"; fd=os.open(p, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o600); os.write(fd, os.environ["GCP_CREDS"].encode()); os.close(fd)'
- bazel test -k --config=ci --config=ci-limit-storage --config=ci-linux-common --config=ci-test //... --announce_rc --remote_cache=https://storage.googleapis.com/cloudflare-edgeworker-bazel-build-cache --google_credentials=/tmp/bazel_cache_gcp_creds.json --remote_local_fallback=True --remote_timeout=10
ci-bazel-x64-release:
nosubmodule: true
base_image: *ci-image-bazel-amd64
tmpfs_tmp: true
post-cache:
- *pre-bazel-install-deps
- *pre-bazel-write-gcp-creds
- bazel test -k --config=ci --config=ci-limit-storage --config=ci-linux-common --config=ci-test --config=release_linux //... --announce_rc --remote_cache=https://storage.googleapis.com/cloudflare-edgeworker-bazel-build-cache --google_credentials=/tmp/bazel_cache_gcp_creds.json --remote_local_fallback=True --remote_timeout=10
ci-bazel-x64-asan:
nosubmodule: true
base_image: *ci-image-bazel-amd64
tmpfs_tmp: true
post-cache:
- *pre-bazel-install-deps
- *pre-bazel-write-gcp-creds
- bazel test -k --config=ci --config=ci-test --config=ci-linux-asan //... --announce_rc --remote_cache=https://storage.googleapis.com/cloudflare-edgeworker-bazel-build-cache --google_credentials=/tmp/bazel_cache_gcp_creds.json --remote_local_fallback=True --remote_timeout=10
ci-bazel-x64-lint:
nosubmodule: true
base_image: *ci-image-bazel-amd64
tmpfs_tmp: true
post-cache:
- *pre-bazel-install-deps
- *pre-bazel-write-gcp-creds
- bazel build -k --config=ci --config=ci-limit-storage --config=lint --config=ci-test --config=ci-linux-common //... --announce_rc --remote_cache=https://storage.googleapis.com/cloudflare-edgeworker-bazel-build-cache --google_credentials=/tmp/bazel_cache_gcp_creds.json --remote_local_fallback=True --remote_timeout=10