forked from bitcoin-core/qa-assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
73 lines (73 loc) · 2.35 KB
/
.cirrus.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
task:
name: "[system libs, no depends, fuzz, valgrind] [focal]"
container:
image: ubuntu:20.04
cpu: 8
memory: 12G
timeout_in: 120m
env:
FILE_ENV: "./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"
MAKEJOBS: "-j16"
DANGER_RUN_CI_ON_HOST: "1"
CCACHE_SIZE: "200M"
CCACHE_DIR: "/tmp/ccache_dir"
ccache_cache:
folder: "/tmp/ccache_dir"
upstream_clone_script:
- cd /tmp
- apt update && apt install git -y
- git clone https://github.com/bitcoin/bitcoin --depth=1 ./bitcoin-core
- mkdir -p /tmp/bitcoin-core/ci/scratch
- mv /tmp/cirrus-ci-build /tmp/bitcoin-core/ci/scratch/qa-assets
ci_script:
- cd /tmp/bitcoin-core
- ./ci/test_run_all.sh
task:
name: "[depends, fuzz, msan] [focal]"
container:
image: ubuntu:20.04
cpu: 4
memory: 12G
timeout_in: 120m
env:
FILE_ENV: "./ci/test/00_setup_env_native_fuzz_with_msan.sh"
MAKEJOBS: "-j8"
DANGER_RUN_CI_ON_HOST: "1"
CCACHE_SIZE: "200M"
CCACHE_DIR: "/tmp/ccache_dir"
ccache_cache:
folder: "/tmp/ccache_dir"
upstream_clone_script:
- cd /tmp
- apt update && apt install git -y
- git clone https://github.com/bitcoin/bitcoin --depth=1 ./bitcoin-core
- mkdir -p /tmp/bitcoin-core/ci/scratch
- mv /tmp/cirrus-ci-build /tmp/bitcoin-core/ci/scratch/qa-assets
ci_script:
- cd /tmp/bitcoin-core
- sed -i 's|FuzzedDataProvider fuzzed_data_provider|return;FuzzedDataProvider fuzzed_data_provider|g' ./src/test/fuzz/strprintf.cpp # Avoid tinyformat issue
- ./ci/test_run_all.sh
task:
name: "[system libs, no depends, fuzz, sanitizers] [focal]"
container:
image: ubuntu:20.04
cpu: 4 # To catch potential timeouts early, this task must replicate the config from https://github.com/bitcoin/bitcoin/blob/master/.cirrus.yml
memory: 12G
timeout_in: 120m
env:
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"
MAKEJOBS: "-j8"
DANGER_RUN_CI_ON_HOST: "1"
CCACHE_SIZE: "200M"
CCACHE_DIR: "/tmp/ccache_dir"
ccache_cache:
folder: "/tmp/ccache_dir"
upstream_clone_script:
- cd /tmp
- apt update && apt install git -y
- git clone https://github.com/bitcoin/bitcoin --depth=1 ./bitcoin-core
- mkdir -p /tmp/bitcoin-core/ci/scratch
- mv /tmp/cirrus-ci-build /tmp/bitcoin-core/ci/scratch/qa-assets
ci_script:
- cd /tmp/bitcoin-core
- ./ci/test_run_all.sh