buttaface
4e6ca12500
CI: free more disk space in the VM
2020-12-21 17:40:07 +02:00
Leonid Pliushch
fa4fe9b8d8
CI: add task for updating Whatprovides database with new deb files
2020-11-21 21:12:00 +02:00
Leonid Pliushch
4101b7ff55
CI: disable cacheing - unreliable
...
Warning: Cache service responded with 429 during upload chunk.
/home/runner/work/_actions/actions/cache/v2/dist/save/index.js:3305
throw new Error(`Cache upload failed because file read failed with ${error.message}`);
^
Error: Cache upload failed because file read failed with EBADF: bad file descriptor, read
at ReadStream.<anonymous> (/home/runner/work/_actions/actions/cache/v2/dist/save/index.js:3305:31)
at ReadStream.emit (events.js:210:5)
at internal/fs/streams.js:167:12
at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5)
2020-11-09 00:25:43 +02:00
Leonid Pliushch
aac8319561
CI: attempt caching with "restore-keys"
...
According to docs, option "restore-keys" support partial cache key
matching which should allow to download prebuilt debs saved in previous
build.
2020-08-04 00:22:44 +03:00
Leonid Pliushch
026350a838
Revert "CI: cache downloaded dependency debfiles"
...
Github Actions do not allow to overwrite already stored cache for
specific key. This caching approach is suitable for projects, where
dependencies are being tracked within lock files or their alternatives,
for exapmle NPM, Ruby or Python. Termux-packages is not such repository
where we can easily retrieve cache by using old key and generate a new
one after building was finished.
2020-08-04 00:02:53 +03:00
Leonid Pliushch
5a323bb93a
CI: cache downloaded dependency debfiles
...
https://github.com/termux/termux-packages/issues/5620
2020-07-31 16:08:53 +03:00
Leonid Pliushch
5cf235d936
CI: revert latest changes, attempt to fix step 'Free additional disk space on host'
2020-07-01 20:29:38 +03:00
Leonid Pliushch
41c529fd8c
Revert "CI: switch to Ubuntu 20.04 and don't use Docker image as build environment"
...
This reverts commit eaeb2e609e075adea6c3d783a258996517a83ac5.
2020-07-01 20:27:59 +03:00
Leonid Pliushch
39c66b1ea7
Revert "CI: don't use run-docker.sh"
...
This reverts commit 7aeb7a9a3ab57676776020c35513924d4d1f3472.
2020-07-01 20:27:50 +03:00
Leonid Pliushch
1bb3746c24
Revert "CI: do not hardcode paths to NDK/SDK"
...
This reverts commit fbf070084bef34e6c0f565c81f3d05fbc0cb1dc8.
2020-07-01 20:27:41 +03:00
Leonid Pliushch
a7fa64f3d7
Revert "CI: setup NDK/SDK"
...
This reverts commit 968e85067c09a81ea4f61969849ce2fc77991584.
2020-07-01 20:27:34 +03:00
Leonid Pliushch
104255b4fe
CI: setup NDK/SDK
2020-07-01 20:00:14 +03:00
Leonid Pliushch
97a8171aa9
CI: do not hardcode paths to NDK/SDK
2020-07-01 17:38:20 +03:00
Leonid Pliushch
f352387fe2
CI: don't use run-docker.sh
2020-07-01 14:55:45 +03:00
Leonid Pliushch
3d3868cf60
CI: switch to Ubuntu 20.04 and don't use Docker image as build environment
...
Note that ubuntu-20.04 is preview currently, as stated in https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners .
2020-07-01 14:48:24 +03:00
Leonid Pliushch
5bdcbbd714
CI: fix creation of empty artifacts archive when %ci:no-build is set
2020-06-02 20:42:02 +03:00
Leonid Pliushch
1d43d0981e
CI: an attempt to prevent failure of upload job when %ci:no-build tag is specified
...
%ci:no-build causes packages not being built, however it doesn't prevent
artifacts from being uploaded/downloaded. Due to unavailable *.deb files,
upload job fails during download of the artifacts archive.
Placeholder file should make a valid artifact archive to be available so
job will not fail anymore.
2020-06-02 20:25:36 +03:00
Leonid Pliushch
bdc7322307
CI: show checksums for built debs
2020-03-12 19:02:27 +02:00
Leonid Pliushch
4c1caf17e6
Revert "CI: do not uninstall java from VM"
...
This reverts commit 37abc307c57a7cbe3f456b6b483943334eb1b837.
2020-03-08 21:26:57 +02:00
Leonid Pliushch
6804040afa
CI: do not uninstall java from VM
...
Should fix https://github.com/termux/termux-packages/pull/4845/checks?check_run_id=490861673 ?
2020-03-06 21:07:13 +02:00
its-pointless
eada913048
rust-1.41.1 ( #5009 )
...
* Update rust to 1.41.1
* CI: free additional space in VM, otherwise Rust v1.41.1 build will fail
2020-03-06 13:20:17 +02:00
Leonid Pliushch
d26c673109
CI: update packages.yml
...
Properly handle cases where we have both updated & deleted packages.
2020-02-23 13:51:30 +02:00
Leonid Pliushch
f426dbe994
CI: ensure that directories ./debs and ./artifacts are always available
...
Even if '%ci:no-build' tag was applied.
2020-02-17 13:33:59 +02:00
Leonid Pliushch
a5699b620a
CI: handle commit tag '%ci:no-build'
...
This tag will force current workflow to exit with status 'passed'.
2020-02-17 13:13:32 +02:00
Leonid Pliushch
bb8d3acd48
CI: update workflows/packages.yml
2020-01-25 16:39:24 +02:00
Leonid Pliushch
2fc2cc5675
CI: fix incorrect *.deb file transfer between jobs
...
Should fix the issue where updating is done only for
deb files from the last finished build job.
2020-01-23 23:25:15 +02:00
Leonid Pliushch
9e97a520e4
CI: allow to use customized Docker image
...
Necessary to handle cases where setup scripts were changed
during push or pull request.
2020-01-23 22:36:04 +02:00
Leonid Pliushch
b6c59df765
CI: use termux/package-builder Docker image as build environment
2020-01-23 21:54:42 +02:00
Leonid Pliushch
c4d673ee07
CI: set path to where extract downloaded artifacts
2020-01-23 00:05:16 +02:00
Leonid Pliushch
0d2a5f69bc
CI: workaround for possible artifact upload failure
...
Certain symbols in file name may cause problems, so directory ./debs
will be archived in tar before uploading.
2020-01-22 23:56:05 +02:00
Leonid Pliushch
b447efc27e
CI: try to avoid failure when package lists are not found
2020-01-22 22:55:19 +02:00
Leonid Pliushch
50b370d31a
CI: lint packages before building
2020-01-22 22:49:57 +02:00
Leonid Pliushch
b7611b8fc0
CI: do not treat usernames/logins as secrets
...
This causes logging issues where certain words like 'termux'
are censored. This breaks directory paths & urls.
2020-01-22 22:41:34 +02:00
Leonid Pliushch
c087460476
CI: setup Github Actions
2020-01-22 21:51:12 +02:00