Commit Graph

41 Commits

Author SHA1 Message Date
VishnuSanal 82c668f34f add hotfix/* as a target branch 2022-06-11 20:11:06 +05:30
Goooler 70fc274c6d Insert blank lines 2022-03-09 17:33:38 +08:00
Goooler d81160b4db Remove redundant caches 2022-03-09 17:30:30 +08:00
Goooler 1622b1d26a Bump actions/setup-java to v3 2022-03-09 17:26:51 +08:00
Goooler c683039f62 Bump actions/checkout to v3 2022-03-09 17:26:34 +08:00
Goooler 0412f2d9e2 Use gradle/gradle-build-action 2022-03-09 17:25:53 +08:00
Raymond Lai b91900351d Fix Github CI action again
- Fix variable brackets
- Fix emulator architecture to all x86 - x86_64 emulators only exist for API >= 21
2022-03-04 23:59:42 +08:00
Raymond Lai be80a0750c Fix build errors on Github Actions
Also
- fixes awaitility and junit hamcrest dependency differences causing class conflict error reported during build
- little tweak to ignore .attach_pid files
2022-03-03 21:52:15 +08:00
Raymond Lai 8fad79fe0a Trap exceptions thrown when processing corrupt archives
Addresses #3841.

Test cases against corrupt archives included.
2022-02-14 08:48:54 +08:00
EmmanuelMess b408759cae Move emulator test from android-feature to android-main 2022-02-04 21:29:49 -03:00
Raymond Lai 65c0707b58 Remove timezone setting in build files and github actions 2022-01-12 09:05:18 +08:00
Vishal Nehra 6c6aebcbc7 Fix commit_count in workflow 2021-12-12 03:58:26 +05:30
VishnuSanal 781f1e765a remove play builds 2021-12-04 14:49:40 +05:30
VishnuSanal 5ecb05ca34 Revert "remove play & fdroid release builds from android-main.yml"
This reverts commit 924a7157
2021-12-04 14:25:17 +05:30
VishnuSanal fb6e7f0a55 move to android-main.yml 2021-12-04 14:07:18 +05:30
VishnuSanal c6a20e7c46 Publish on Telegram on a new commit to release or master 2021-11-27 16:56:15 +05:30
VishnuSanal 924a7157d2 remove play & fdroid release builds from android-main.yml 2021-11-24 16:46:44 +05:30
Vishal Nehra eaab11c958 Merge pull request #2893 from TeamAmaze/emmanuelmess/actions/addbuilds
Add release build jobs for master and releases
2021-10-25 00:21:19 +05:30
Emmanuel b389eac45f Use temurin instead of adopt for builds 2021-10-23 14:42:14 -03:00
Bambooin e6b87de88b ci: migrate workflows from adopt to temurin
Adopt OpenJDK got moved to Eclipse Temurin and won't be updated anymore.

It is highly recommended to migrate workflows from adopt to temurin to keep receiving software and security updates.
2021-10-16 21:22:07 +08:00
Bambooin be573ca07d ci: add cache in build job 2021-10-16 21:22:07 +08:00
Bambooin f15fee0fe9 ci: enable cache of set java 2021-10-16 21:22:07 +08:00
Emmanuel 2bb3c782b1 Add release build jobs for master and releases 2021-10-14 19:27:01 -03:00
Emmanuel 2280a22196 Separate spotless check into another job 2021-10-11 03:44:29 -03:00
Vishal Nehra 07bc0660e2 Fix spotless error 2021-08-16 04:37:15 +05:30
Vishal Nehra ebc33bd52a Remove log truncation during build and redundant --stacktrace arguments
Fixes #2717.

It seems truncating log messages during build had side effects running on Github Actions, causing build errors being ignored and still considered a success build. Removing them to ensure no one gets in the way on build/test failures.

Also removed --stacktrace arguments on release build actions. Build problems (if there is any) should have been dealt with on debug builds and production builds should be always smooth and fast with only error but not with debug log messages.
2021-08-14 00:08:59 +08:00
EmmanuelMess 0e24def2c1 Fix redundant test runs 2021-06-11 12:55:33 -03:00
Raymond Lai a9546fa8b2 Suppress jetifier transform jar output during Github build
Reference: https://stackoverflow.com/a/52353446
2021-05-31 11:05:38 +08:00
Raymond Lai 404b78da5f Use JDK 11 to build
This enable Robolectric to test with SDK 30 or above.
2021-05-19 16:57:01 +08:00
Raymond Lai 8280ca68ef Adopt Ubuntu 20.04 as CI build environment 2021-02-05 00:05:52 +08:00
Raymond Lai 2d0c8eccc1 Enforce Github Actions CI to UTC timezone
To ensure DOS timestamps are converted to UTC timestamps when work with zip and rars, for passing the tests
2021-01-18 12:12:56 +08:00
VishalNehra cfaaf370cf 1896: Use feature-ci workflow for prs 2020-07-07 16:12:25 +05:30
VishalNehra ce3ca0e5d0 1896: Change jacoco to jacoco-android plugin 2020-07-02 03:37:12 +05:30
VishalNehra df8ff90527 1896: Change gradle task to find test coverage 2020-07-02 03:07:19 +05:30
VishalNehra 6b404899f2 1896: Change gradle task to find test coverage 2020-07-02 03:00:32 +05:30
VishalNehra 4d3c457f39 1896: Publish test case coverage to codacy in workflow 2020-07-02 02:40:46 +05:30
VishalNehra cf831cc7fc 1896: Publish test case coverage to codacy in workflow 2020-07-02 02:22:37 +05:30
TranceLove d08aaede28 Github workflow tweaks: add --stacktrace to gradle builds
This will output full stacktraces to build log in case of errors.

Also modified README.md's license section per PR review feedback by Vishal
2020-07-01 22:32:03 +08:00
TranceLove d4e84ac4ab Updates to Github workflow
* update octokit version to 2.0.2, as I had problems getting things to work with octokit 2.0.0
* add testPlayDebugUnitTest to all workflows, to ensure PRs or releases had been tested (though code coverage is still small)
2020-06-30 17:25:19 +08:00
VishalNehra ef2fb2378a 1896: Modify push action android-main ci 2020-06-09 04:22:42 +05:30
VishalNehra 86eaf67f02 1896: Implement github actions pipeline for project 2020-06-09 04:18:50 +05:30