forked from bitcoin-core/qa-assets
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.cirrus.yml
50 lines (50 loc) · 1.52 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
task:
name: "x86_64 Linux [focal] [system libs, no depends, fuzz, valgrind]"
container:
image: ubuntu:20.04
cpu: 2
memory: 4G
timeout_in: 70m
env:
FILE_ENV: "./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"
MAKEJOBS: "-j4"
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
- apt update && apt install git -y
- git clone https://github.com/bitcoin/bitcoin --depth=1 ./bitcoin-core
task:
name: "x86_64 Linux [focal] [system libs, no depends, fuzz, sanitizers]"
container:
image: ubuntu:20.04
cpu: 2
memory: 4G
timeout_in: 70m
env:
FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh"
MAKEJOBS: "-j4"
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