-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
41 lines (38 loc) · 1013 Bytes
/
.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
compute_engine_instance:
image_project: cirrus-images
image: family/docker-builder
platform: linux
cpu: 8
memory: 16G
env:
CIRRUS_CLONE_SUBMODULES: true
generate_task:
timeout_in: 120m
result_cache:
folder: result
fingerprint_key: ${CIRRUS_BUILD_ID}
populate_script:
- mkdir -p result
generate_script:
- pwd
- ls
- docker build gnu-icecat-build-script -t vbramselaar/icecat-builder
- docker run --rm -e stage=generate -v $(pwd)/result:/root/result vbramselaar/icecat-builder
artifacts:
name: Gnuzilla source
path: "result/*.tar.bz2"
build_task:
timeout_in: 120m
depends_on:
- generate
result_cache:
folder: result
fingerprint_key: ${CIRRUS_BUILD_ID}
build_script:
- pwd
- ls result
- docker build gnu-icecat-build-script -t vbramselaar/icecat-builder
- docker run --rm -e stage=build -v $(pwd)/result:/root/result vbramselaar/icecat-builder
artifacts:
name: Icecat build
path: "result/build/*.tar.bz2"