Leonid Plyushch
9a6c14e76a
CI: omit newlines when printing list of packages for building
6 years ago
Leonid Plyushch
0833dc940e
docker image: install libc-ares-dev and libicu-dev
Needed by host-build part of nodejs v12.6.0+
6 years ago
Leonid Plyushch
988ed344ac
CI: add support for automatic docker image rebuilding
6 years ago
Leonid Plyushch
1b56b01d05
CI: fix expression for filtering packages
6 years ago
Leonid Plyushch
68ee2d8abd
CI: look for changes only in build.sh scripts
6 years ago
Leonid Plyushch
521e8373f6
CI: restore old way for building & uploading packages
Do not use pipes for building & uploading packages because:
* They spawn more jobs on Bintray for metadata generation - each upload is
done in a separate session.
* Bintray doesn't handle well concurrent uploads and metadata can be corrupted.
This happened in all recent builds of platform independent packages - in
each upload task file had a same name and that triggered problem with metadata.
* Using delays for workaround for a problem described above works, but isn't
safe.
6 years ago
Leonid Plyushch
2ba849491a
CI: fix syntax errors in 'scripts/build/ci/cirrus-ci_dispatcher.sh'
6 years ago
Leonid Plyushch
c8d60f87b6
CI: better implementation for workaround introduced in f75cb1d4f2
Use predefined upload delays for each pipe.
6 years ago
Leonid Plyushch
11ec9040f8
CI: do not start upload if API key or passphrase is not set
CI periodically shows error like
Failed to decrypt some environment variables
so it will be better to stop immediately when environment is inconsistent
for unknown reason (e.g. due to Github's problems).
6 years ago
Leonid Plyushch
f75cb1d4f2
CI: attempt to workaround inconsistent metadata during concurrent upload of same file
All platform independent packages affected by this issue. Results in
persistent apt error like:
Writing more data than expected (22610650 > 22610408)
Hashes of expected file:
- SHA256:08abc5cffb9e1967fab487a471bb547f5ae706c48bf8e59d1443b2ad4af9caaf
- SHA1:36ded1e207135bdeb8b7301bc03309ebced3cd32 [weak]
- Filesize:22610408 [weak]
6 years ago
Leonid Plyushch
07a554fd43
CI: check if necessary environment variables are set
6 years ago
Leonid Plyushch
256cc062ee
CI: if all 3 attempts of upload failed, exit with status code '1'
6 years ago
Leonid Plyushch
fa69510c07
build-package.sh: allow to mark subpackages as essential
6 years ago
Leonid Plyushch
69b3b99dd7
docker image: install autopoint
6 years ago
Leonid Plyushch
7a86f0cd8e
CI: fix syntax errors in dispatcher script
6 years ago
Leonid Plyushch
581498d53f
CI: rework way how upload will be retried
* Allow 3 attempts for uploading.
* Add 30 second delay between attempts.
6 years ago
Leonid Plyushch
1143da7d12
CI: fix pull requests URL in dispatcher script
6 years ago
Leonid Plyushch
42aca8a5f1
CI: retry package uploading in case of failure
In certain cases Bintray may return errors like `invalid version a.b.c` for
specific tasks. This probably happens because we now running package uploading in
parallel.
Retrying upload one more time should fix the problem.
6 years ago
Leonid Plyushch
080bb3ea11
CI: use pipe instead of separate tasks
No more need to pass packages between tasks through http cache but will require
a separate configuration for earch architecture.
6 years ago
Leonid Plyushch
1df3a3c853
Revert "CI: restore full builds for pull requests"
This reverts commit 77f24af5b8
.
6 years ago
Leonid Plyushch
77f24af5b8
CI: restore full builds for pull requests
When processing pull request, build dependencies instead of
downloading them.
6 years ago
Leonid Plyushch
9d743e2a27
build-package.sh: allow to build multiple packages at one time
Support for call syntax:
./build-package.sh pkg1 pkg2 pkg3 ...
6 years ago
Leonid Plyushch
51521e76b6
update CI setup
* Move package building/uploading implementation from config to a separate script.
* Implement new tag '%ci:no-build' to allow immediately stop build with status 'passed'.
%ci:no-build
6 years ago
Henrik Grimler
091718af31
setup_golang: set CGO_CFLAGS=-I$TERMUX_PREFIX/include
6 years ago
Fredrik Fornwall
32de55cece
Always use -Oz optimization level
6 years ago
Leonid Plyushch
76bdc3bf9f
docker image: install libdbus-1-dev
Required by host-build if dbus-glib.
https://github.com/termux/termux-packages/pull/4046 .
6 years ago
Fredrik Fornwall
9a84e8d005
golang: Update from 1.12.6 to 1.12.7
6 years ago
Leonid Plyushch
41ceb1123d
build-package.sh: fix typo
Chmod has to be called recursively.
6 years ago
Leonid Plyushch
8cb5f5580c
clean.sh & build-package.sh: avoid errors in case chmod's target dir is not exist
6 years ago
Leonid Plyushch
944326f1ab
build-package.sh: fix rm problems when builddir/srcdir contains RO files
6 years ago
Leonid Plyushch
ff221cab06
build-package.sh: always keep info pages
Info pages usually provide more complete information
about package and its usage than man pages.
6 years ago
Tom Yan
46fa2d15c6
build-package.sh: export OBJCOPY
6 years ago
its-pointless
9eca7657fd
set updsted ndk sha256
6 years ago
its-pointless
f6660abd1e
avoid using system clang instead of ndk one
6 years ago
its-pointless
8d09dc96fd
fix arm-cpp properly...
6 years ago
its-pointless
f2687cdf6d
fix arm cpp
6 years ago
its-pointless
d0f4522c55
ndk-20 update
6 years ago
Leonid Plyushch
f74f354657
golang: update to 1.12.6
6 years ago
Leonid Plyushch
3ec45373ce
fix scripts/check-built-packages.py
Now it will compare packages with right repository (android-7/bintray).
6 years ago
Leonid Plyushch
0611430432
cmake: update to 3.14.5
6 years ago
Leonid Plyushch
33f9b31efd
update setup-archlinux.sh
6 years ago
Leonid Plyushch
68048d1bd9
update Vagrantfile
* Ubuntu disco
* Raised RAM to 4 GB (2 GB may be too small)
* Some other fixes
6 years ago
Christopher Latham
cf0abb1a9f
setup-ubuntu.sh: Download 19.04 java package when running Ubuntu 19.04
6 years ago
Christopher Latham
2397e9ab73
Fix broken java 8 download link locations
6 years ago
Leonid Plyushch
9da9a26c23
build-package.sh: fix license installation step
6 years ago
Leonid Plyushch
c2ad29cbef
build-package.sh: handle disable packages when building for all architectures
6 years ago
Henrik Grimler
42e5b23bb6
termux_step_massage: drop TERMUX_PKG_KEEP_SHARE_DOC
6 years ago
Henrik Grimler
fd711968c9
termux_step_install_license: fix link path
6 years ago
Henrik Grimler
6286893ed4
termux_step_install_license: install to usr/share/doc/ instead of usr/share/
6 years ago
Henrik Grimler
0b1575ee1e
termux_step_install_license: Handle spaces in license name
6 years ago