Commit Graph

25 Commits

Author SHA1 Message Date
Tal Regev e01073d585 Compile android with vcpkg (rappture, curl and openssl) 2021-04-10 01:41:57 +03:00
Tal Regev 4ca980f5c3 Compile wrappture app for linux and android 2021-03-30 00:41:03 +03:00
Tal Regev 64439ec446 Compile samples apps for android. 2021-03-22 00:31:43 +02:00
Tal Regev fa595745fe Update prepare_apps 2021-03-09 20:21:07 +02:00
Vitalii Koshura 73b540a3b0
[Android] Add libs and apps builds to CI.
Do some scripts refactoring.
Clean-up outdated files.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-03-08 20:38:47 +01:00
Vitalii Koshura 0b82d1d667
[Android] Add Xiaomi specific screens
Add Xiaomi specific builds.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-01-11 19:36:31 +01:00
Christian Beer c9e922f924
[CI] fix boolean variables
The previous CI system (Appveyor) used `True` and `False` but the new one (Github Actions) uses `true` and `false`.
2020-12-24 20:32:02 +01:00
Christian Beer ebc507e082 [CI] replace Travis and AppVeyor with Github Actions
This consolidates the different CI builds on one platform that provides support for the major three operating systems we build on (Linux, Windows, MacOS). The nomenclature and syntax is a bit different but it has the same functionality.
This commit introduces the Linux and Windows based workflows. All the build artifacts can now be downloaded from [bintray](https://bintray.com/beta/#/boinc/boinc-ci?tab=files). The CI workflows run for every pull request, every merge into the master branch and every Sunday around 12:00 (GMT).
Every first Sunday in a month a cleanup Script is run to delete old artifacts from Bintray. Artifacts from closed/merged pull requests get deleted then. Artifacts from weekly builds and merges into the master branch older than 6 months get deleted too.

Co-authored-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2020-12-23 12:31:16 +01:00
Vitalii Koshura 3c443b973b
[AppVeyor] Fix upload to Bintray
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-12-30 10:06:19 +01:00
Vitalii Koshura 4255f80e8a
[AppVeyor] Add Win32 build configuration
Change build with devenv to more common used msbuild
Change AppVeyor cache saving from zip to 7zip with maximal compression

Fixes #2620

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-12-18 15:21:06 +01:00
Christian Beer 23a14c167b
Travis Bintray: fix bug in cleanup script 2019-12-08 22:15:36 +01:00
Christian Beer 7156858226
[WIP] Deploy: enable bintray cleanup script
Previously forgot to remove this check since the script was not intended to be run on CI.
2019-06-27 10:15:23 +02:00
Christian Beer 687d77c5f6 Deployment: run bintray cleanup script once a month
The weekly cronjob on Travis CI will trigger a cleanup once a month which will delete artifacts from closed pull requests and weekly builds older than 6 months. The Windows artifacts on AppVeyor are automatically deleted after 6 months.
2019-05-26 09:27:14 +02:00
Vitalii Koshura 1d8aa65374
[Android] [TravisCI] Add Full Android build
- Fix existing configuration of openssl and curl flag files for different Android configurations
- Make openssl and curl build more silent

This fixes #2927

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-12-27 02:47:10 +02:00
Christian Beer c877c02cc8 Travis Bintray: enable cleanup of bintray repositories
Switch from date attribute to number attribute in order to get versions older than a specified date. This is a limitation of the API.
The cleanup_bintray.sh script needs to be run by the BOINC bintray maintainer. See comments in file on how to use this.
2018-12-23 03:50:30 +01:00
Christian Beer 07111b3252 Travis Bintray: add attributes to versions for better cleanup
Attributes can be used to easily delete old versions. A script can check if a PR is closed and delete all versions for this PR on bintray. Or it could delete all versions older than a threshold.
Attribtes only need to be added once. Currently this is done in the Travis build because this is running for every PR.
2018-11-26 21:08:58 +01:00
Vitalii Koshura c612e39c3d
[AppVeyor] Deploy to Bintray Implementation
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-11-26 19:46:57 +02:00
Vitalii Koshura 030efbb320
[AppVeyor] Update prepare_deployment.bat to support selected platform/configuration
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-10-23 16:28:47 +03:00
Christian Beer 9d631aceea fix intendation 2018-10-14 14:26:31 +02:00
Christian Beer de3357b678 Travis Bintray: stop script when unsupported event happens 2018-10-14 14:22:03 +02:00
Christian Beer e9a283653f AppVeyor Bintray: provide sensible defaults
Until there is a better mechanism to control deployments on AppVeyor a deployment will happen for every merge into master. This will prevent it from failing.
2018-10-14 14:20:24 +02:00
Christian Beer c7593716e0 Travis: adjust boinc URL shown on AppVeyor page 2018-10-08 17:53:31 +02:00
Christian Beer 8cc9fc412c Travis: harmonize deploy scripts
On AppVeyor the archiving is done in prepare stage because they have an artefact cache for pull requests already available. So I moved the 7z stuff to prepare_deployment.sh so it does the same as the bath file. Filenames do not match because uploading to bintray is done differently but theyhave the same structure when available on bintray..
2018-09-23 16:37:27 +02:00
Christian Beer da8a9c26aa AppVeyor: specify artefacts and copy to bintray
Uses some undocumented features to use the same package name and version as the Travis deployment.
2018-09-23 15:48:14 +02:00
Christian Beer 1e25e9292a Travis: copy successful builds to bintray
Copy a weekly build from master to https://bintray.com/boinc/boinc-ci so it is available for testers. Only specified build artefacts are copied (see deploy/prepare_deploy.sh). The copy operation is triggered via a Travis CI cronjob or a pull request from within the BOINC/boinc gitub repository.
Pull requests from forks are ignored because they can not have access to the bintray API key, this is a security restriction enforced by Travis CI.
2018-09-22 15:40:52 +02:00