2019-03-04 02:29:40 +01:00
|
|
|
language: generic
|
|
|
|
|
|
|
|
## Force usage of "Ubuntu Xenial" as on older versions
|
|
|
|
## program "realpath" is not working for some reason.
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
2017-07-10 18:28:51 +02:00
|
|
|
services: docker
|
2019-03-04 02:29:40 +01:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
## Split per-architecture builds into separate jobs.
|
2019-01-23 07:20:26 +01:00
|
|
|
env:
|
2019-01-26 16:44:49 +01:00
|
|
|
matrix:
|
2019-03-04 02:29:40 +01:00
|
|
|
- TERMUX_ARCH=aarch64
|
|
|
|
- TERMUX_ARCH=arm
|
|
|
|
- TERMUX_ARCH=i686
|
|
|
|
- TERMUX_ARCH=x86_64
|
|
|
|
|
|
|
|
## Build modified packages.
|
|
|
|
## Variables BINTRAY_* should be unset to
|
|
|
|
## prevent leaking of sensitive information.
|
|
|
|
script:
|
|
|
|
- unset BINTRAY_USERNAME
|
|
|
|
- unset BINTRAY_API_KEY
|
|
|
|
- unset BINTRAY_GPG_SUBJECT
|
|
|
|
- unset BINTRAY_GPG_PASSPHRASE
|
|
|
|
- |
|
|
|
|
for package in $(./scripts/build/ci/determine_git_changes.sh); do
|
2019-03-04 11:32:54 +01:00
|
|
|
./scripts/run-docker.sh ./build-package.sh -q -a "$TERMUX_ARCH" "$package" || exit 1
|
2019-03-04 02:29:40 +01:00
|
|
|
done
|