forked from yubrajbhoi/unstable-packages
-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.cirrus.yml
55 lines (44 loc) · 1.31 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
container:
image: xeffyr/termux-advanced-builder:latest
cpu: 8
memory: 16
build_task:
timeout_in: 120m
environment:
matrix:
- TERMUX_ARCH: aarch64
LEGACY_ANDROID: false
- TERMUX_ARCH: aarch64
LEGACY_ANDROID: true
- TERMUX_ARCH: arm
LEGACY_ANDROID: false
- TERMUX_ARCH: arm
LEGACY_ANDROID: true
- TERMUX_ARCH: i686
LEGACY_ANDROID: false
- TERMUX_ARCH: i686
LEGACY_ANDROID: true
- TERMUX_ARCH: x86_64
LEGACY_ANDROID: false
- TERMUX_ARCH: x86_64
LEGACY_ANDROID: true
# Build modified packages.
build_script: |
bash ./scripts/cirrus-ci_dispatcher.sh
# Make built packages downloadable from web UI.
output_artifacts:
path: "./termux-packages/debs/*.deb"
# Upload packages to Bintray.
publish_task:
only_if: $CIRRUS_BRANCH == 'master'
timeout_in: 60m
depends_on:
- build
environment:
BINTRAY_USERNAME: ENCRYPTED[5977e6c0f069d0bc9be4ed09044d59835767a5c71c541cbe47cd56736cc43f5191a9291bbc3031a9267f0be105651f25]
BINTRAY_API_KEY: ENCRYPTED[04f4ee0fc194ca2f94959a623388d4c3ae1bf874e8fa876f79b2659fc9e8f6fea952275e97f2d022e43e2ab6c67d1198]
matrix:
- LEGACY_ANDROID: false
- LEGACY_ANDROID: true
upload_script: |
bash ./scripts/cirrus-ci_dispatcher.sh --upload