You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
946 B

container:
image: termux/package-builder:latest
cpu: 8
memory: 16
task:
name: Build
# 2 hours is a maximal timeout available for free use.
timeout_in: 120m
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
output_artifacts:
path: "./debs/*.deb"
task:
name: Publish
only_if: $CIRRUS_BRANCH == 'master'
timeout_in: 60m
depends_on:
- Build
environment:
BINTRAY_USERNAME: xeffyr
BINTRAY_API_KEY: ENCRYPTED[c056d345d7a15f90b818dd9382129c27ce4ce2b802831ec890786414fc214c4203714c353a8fef3a6b9b1b1d68e4685e]
BINTRAY_GPG_SUBJECT: termux
BINTRAY_GPG_PASSPHRASE: ENCRYPTED[854c09c78b3318a30d3c9094b1010dfebd4c71ad9173b64479eaafaa7e941b050afaa936ad635af3709382492828316f]
upload_script: |
bash ./scripts/build/ci/cirrus-ci_dispatcher.sh --upload