2019-05-01 18:22:12 +02:00
|
|
|
container:
|
|
|
|
cpu: 8
|
|
|
|
memory: 16
|
|
|
|
|
2019-07-20 21:59:16 +02:00
|
|
|
##
|
|
|
|
## * Maximal timeout is 120 minutes.
|
|
|
|
## * Each architecture require a separate pipe configuration.
|
|
|
|
## * Test builds (i.e. non-uploadable) are done via separate task.
|
|
|
|
##
|
2019-05-01 18:22:12 +02:00
|
|
|
|
2019-07-20 21:59:16 +02:00
|
|
|
build_pipe_template: &BUILD_PIPE_TEMPLATE
|
2019-05-01 18:22:12 +02:00
|
|
|
only_if: $CIRRUS_BRANCH == 'master'
|
|
|
|
|
2019-07-20 21:59:16 +02:00
|
|
|
timeout_in: 120m
|
2019-05-01 18:22:12 +02:00
|
|
|
|
|
|
|
environment:
|
2019-05-19 20:55:40 +02:00
|
|
|
BINTRAY_USERNAME: xeffyr
|
2019-05-01 18:22:12 +02:00
|
|
|
BINTRAY_API_KEY: ENCRYPTED[c056d345d7a15f90b818dd9382129c27ce4ce2b802831ec890786414fc214c4203714c353a8fef3a6b9b1b1d68e4685e]
|
2019-05-19 20:55:40 +02:00
|
|
|
BINTRAY_GPG_SUBJECT: termux
|
2019-05-01 18:22:12 +02:00
|
|
|
BINTRAY_GPG_PASSPHRASE: ENCRYPTED[854c09c78b3318a30d3c9094b1010dfebd4c71ad9173b64479eaafaa7e941b050afaa936ad635af3709382492828316f]
|
|
|
|
|
2019-07-20 21:59:16 +02:00
|
|
|
steps:
|
|
|
|
- image: termux/package-builder:latest
|
|
|
|
build_script: bash ./scripts/build/ci/cirrus-ci_dispatcher.sh
|
|
|
|
- image: termux/package-builder:latest
|
|
|
|
upload_script: bash ./scripts/build/ci/cirrus-ci_dispatcher.sh --upload
|
|
|
|
output_artifacts:
|
|
|
|
path: "./debs/*.deb"
|
|
|
|
|
|
|
|
|
|
|
|
pipe:
|
|
|
|
<< : *BUILD_PIPE_TEMPLATE
|
|
|
|
name: Build and Upload - aarch64
|
|
|
|
environment:
|
|
|
|
TERMUX_ARCH: aarch64
|
|
|
|
|
|
|
|
pipe:
|
|
|
|
<< : *BUILD_PIPE_TEMPLATE
|
|
|
|
name: Build and Upload - arm
|
|
|
|
environment:
|
|
|
|
TERMUX_ARCH: arm
|
|
|
|
|
|
|
|
pipe:
|
|
|
|
<< : *BUILD_PIPE_TEMPLATE
|
|
|
|
name: Build and Upload - i686
|
|
|
|
environment:
|
|
|
|
TERMUX_ARCH: i686
|
|
|
|
|
|
|
|
pipe:
|
|
|
|
<< : *BUILD_PIPE_TEMPLATE
|
|
|
|
name: Build and Upload - x86_64
|
|
|
|
environment:
|
|
|
|
TERMUX_ARCH: x86_64
|
|
|
|
|
|
|
|
|
|
|
|
task:
|
|
|
|
name: Test build
|
|
|
|
|
|
|
|
only_if: $CIRRUS_BRANCH != 'master'
|
|
|
|
|
|
|
|
timeout_in: 120m
|
|
|
|
|
|
|
|
container:
|
|
|
|
image: termux/package-builder:latest
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
TERMUX_ARCH: aarch64
|
|
|
|
TERMUX_ARCH: arm
|
|
|
|
TERMUX_ARCH: i686
|
|
|
|
TERMUX_ARCH: x86_64
|
|
|
|
|
|
|
|
build_script: bash ./scripts/build/ci/cirrus-ci_dispatcher.sh
|
2019-07-21 00:21:31 +02:00
|
|
|
|
|
|
|
output_artifacts:
|
|
|
|
path: "./debs/*.deb"
|