e00f33a076
[github] Manage private secrets with GitHub Secrets to enhance security
...
1. Restore the original simple version of `configure.sh`
Restores 08e37f4
"Refactor configure.sh"
Reverts b87ee95b
"Fixed configure.sh script and gh actions"
2. Use GitHub Secrets instead of a private git repository to enhance
security standards and ensure credentials are encrypted and safely
managed.
3. Document credentials used by GitHub Actions in docs/CREDENTIALS.md
4. Include `network_security_config.xml` directly into the repo
as it has nothing sensitive.
5. Include Apple WWDR intermediate certificates directly into the repo
as they are not sensitive and publicly available.
https://developer.apple.com/help/account/reference/wwdr-intermediate-certificates
6. Add `private.h` in the repository since it does not differ from
`private_defaults.h`.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-12-27 20:16:52 +00:00
8421449c51
[android] Actualize the list of devices for Monkey
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-04-24 19:52:09 +02:00
acb37cd805
[android] Run Monkey in the production mode on real devices
...
The debug mode occasionally fails on random asserts which are not very
critical for the production. The debug mode also does not have R8 enabled,
which causes certain bugs to leak into production. Use Beta instead.
This PR also removes virtual x86_64 devices from the list because they fail
randomly during rendering due to inconsistency of OpenGL emulation.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-03-27 08:35:17 +02:00
ec59fa8dda
Reduce Android Monkey trigger
...
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2024-01-07 18:06:38 +02:00
5c7ddbffbf
Update Github Actions
...
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2024-01-06 00:10:34 +01:00
f2bfa5f20d
[android] Update hardware for monkey
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-10-29 10:59:56 -07:00
6448c685b6
Bump checkout to v4
...
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-10-08 15:16:49 +02:00
2d20e9da30
[android] Always use ./gradlew
in CI to avoid discrepancies
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-09-05 08:34:06 +03:00
ccceea0d63
[android] Fix beta uploading
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-09-04 23:32:55 +03:00
Arnaud Vergnet
2150cafdb6
[android] Update github ci script to new android structure
...
Signed-off-by: Arnaud Vergnet <arnaud.vergnet@mailo.com>
2023-09-03 10:05:14 +03:00
38d22b5ec9
[android] Remove Nexus 6 and Nexys 7 from Android Monkey
...
These virtual devices are x86 VMs with broken OpenGL:
```
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'generic/gce_x86_phone/gce_x86:5.0.2/LGR1.200331.001/6350401:userdebug/test-keys'
Revision: '0'
ABI: 'x86'
pid: 8947, tid: 9244, name: Thread-431 >>> app.organicmaps.debug <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
eax 00000000 ebx aaa2b8c8 ecx 00000019 edx 00000640
esi 00000640 edi 00000640
xcs 00000073 xds 0000007b xes 0000007b xfs 0000013f xss 0000007b
eip aa2ee380 ebp 8d90d4a8 esp 8d90d470 flags 00210202
backtrace:
#00 pc 00110380 /system/lib/egl/libGLESv2_swiftshader.so
#01 pc 00110c7d /system/lib/egl/libGLESv2_swiftshader.so
#02 pc 000496fb /system/lib/egl/libGLESv2_swiftshader.so
#03 pc 00041166 /system/lib/egl/libGLESv2_swiftshader.so
#04 pc 0004f8c7 /system/lib/egl/libGLESv2_swiftshader.so
#05 pc 0005fd83 /system/lib/egl/libGLESv2_swiftshader.so (glClear+35)
#06 pc 02caaef6 /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so (GLFunctions::glClear(unsigned int)+902)
#07 pc 02cce44e /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so (dp::OGLContext::Clear(unsigned int, unsigned int)+142)
#08 pc 02991a4f /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so (df::FrontendRenderer::RenderScene(ScreenBase const&, bool)+1087)
#09 pc 0299a59b /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so (df::FrontendRenderer::RenderFrame()+1899)
#10 pc 02947f3b /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so (df::BaseRenderer::IterateRenderLoopImpl()+43)
#11 pc 02945ec3 /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so (df::BaseRenderer::IterateRenderLoop()+35)
#12 pc 029a12cc /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so (df::FrontendRenderer::Routine::Do()+1196)
#13 pc 039dccb3 /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so
#14 pc 03a0ca47 /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so
#15 pc 03a0c976 /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so
#16 pc 03a0c47b /data/app/app.organicmaps.debug-1/lib/x86/liborganicmaps.so
#17 pc 000301e9 /system/lib/libc.so (__pthread_start(void*)+57)
#18 pc 0002b3ca /system/lib/libc.so (__start_thread+26)
#19 pc 00012c46 /system/lib/libc.so (__bionic_clone+70)
```
Unfortunally, Firebase TestLab doesn't provide any non-broken alternatives
for API=21,22.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-08-25 18:00:29 +03:00
Alexander Borsuk
ab507c6a5e
[github] Explicitly set JAVA_HOME for Java 17
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-05-10 09:21:48 +02:00
3dbf972757
[github] Fix Android Monkey bug
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2022-12-16 10:55:29 +02:00
59c640c773
[android] Update the list of devices in TestLab
...
Closes #3758
Closes #3759
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2022-11-17 12:32:43 +02:00
Alexander Borsuk
80090fc66c
[github] Faster boost submodules checkout for actions
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-09-27 16:12:04 +02:00
Alexander Borsuk
138fefddf9
[github] Use checkout@v3 actions
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-09-27 16:12:04 +02:00
Alexander Borsuk
127ff2a859
[github] Remove unnecessary Java 11 setup for actions
...
Java 11 is used by default.
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-09-27 16:12:04 +02:00
Alexander Borsuk
0b9f152ec4
[github] Removed unnecessary Android SDK setup step from gh actions
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-07-18 08:49:23 +02:00
Alexander Borsuk
043225b4c9
[android] Reverted hack to fix build error
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-05-22 17:39:26 +03:00
Alexander Borsuk
1189258692
Fixed GitHub Action error
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-03-31 10:02:29 +03:00
Alexander Borsuk
f1fed21f6e
[android] Use preinstalled gradle instead of gradlew for faster builds
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-30 14:42:03 +01:00
Alexander Borsuk
4fd7d5ebcb
Fixed ninja not found for NDK builds
...
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-01-30 14:42:03 +01:00
8eee2a3009
[ci][android] Run monkey once per day
...
Save money.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-26 08:45:45 +03:00
d11f0f964f
[android][ci] Add --depth to git clone
...
Follow up the previous commit.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-24 11:22:07 +03:00
0fa9875cac
[android] Update to the latest Android Gradle Plugin
...
Android Studio 2021.3.1 is out
The new plugin uses different directory layouts.
Please `rm -rf build nativeOutputs/` to remove old garbage.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-14 12:04:08 +03:00
9795043ba2
[ci] Tune paths-ignore
...
Don't trigger unrelated builds.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-14 10:53:42 +03:00
bd0e3adbe1
[ci] Fix formatting
...
Please run `npm i; npm run format:github` to reformat.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-14 10:24:09 +03:00
083df4ebee
[android][ios] Upload metadata and screenshots to AppStore / GooglePlay
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-08-14 09:54:00 +03:00
b32493f0ba
[android] Allow manual deploy for monkey
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-06-26 08:59:18 +03:00
c3f05a1646
[android] Run Monkey in debug mode
...
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2021-06-23 12:53:22 +03:00