-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcompose.yml
97 lines (87 loc) · 2.2 KB
/
compose.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
x-shared-params: &shared_params
container_name: bazel-build
depends_on:
- bazel-cache
build:
context: .
dockerfile: tools/built/src/Dockerfile
image: toxchat/toktok-stack:latest
environment:
HOME: /home/builder
services:
bazel-cache:
user: ${USER_ID}:${GROUP_ID}
container_name: bazel-cache
image: buchgr/bazel-remote-cache
restart: on-failure
ports:
- "9092:9092"
command: --max_size=1
volumes:
- ../bazel-cache:/data
environment:
BAZEL_REMOTE_GRPC_PORT: 9092
third_party:
build:
context: .
dockerfile: tools/built/src/Dockerfile.third_party
image: toxchat/toktok-stack:latest-third_party
latest:
<<: *shared_params
fastbuild:
<<: *shared_params
command: bazel test
--remote_cache=grpc://bazel-cache:9092
//...
arm64:
<<: *shared_params
command: bazel build
--remote_cache=grpc://bazel-cache:9092
--config=linux-arm64-musl
//...
asan:
<<: *shared_params
command: bazel test
--remote_cache=grpc://bazel-cache:9092
--config=asan
--build_tag_filters=-haskell,-fuzz-test
--test_tag_filters=-haskell,-fuzz-test
//c-toxcore/...
msan:
<<: *shared_params
command: bazel test
--remote_cache=grpc://bazel-cache:9092
--config=msan
--build_tag_filters=-haskell,-fuzz-test
--test_tag_filters=-haskell,-fuzz-test
--
//c-toxcore/auto_tests/...
-//c-toxcore/auto_tests:proxy_test
tsan:
<<: *shared_params
command: bazel test
--remote_cache=grpc://bazel-cache:9092
--config=tsan
--build_tag_filters=-haskell,-fuzz-test
--test_tag_filters=-haskell,-fuzz-test
//c-toxcore/...
debug:
<<: *shared_params
command: bazel test
--remote_cache=grpc://bazel-cache:9092
--config=debug
--build_tag_filters=-haskell,-macos
--test_tag_filters=-haskell,-macos
//...
release:
<<: *shared_params
command: bazel test
--remote_cache=grpc://bazel-cache:9092
--config=release
//...
windows:
<<: *shared_params
command: bazel build
--remote_cache=grpc://bazel-cache:9092
--config=windows-x86_64
//...