Commit 4905c1c
authored
Add enable_android_sdk_checks option for Android emulator testing (#215)
* Add enable_android_sdk_checks option for Android emulator testing
* Update build flags
* Pull request enable_android_sdk_checks: true
* Fix script location
* Fix script permissions
* Download the Android SDK
* Update the Android SDK
* Install Android SDK using package manager
* Update the Android SDK
* Install Java
* Install Java
* Install commandline tools in correct directory
* Update Android SDK
* Update Android SDK
* Update Android SDK
* Use different Android emulator device
* Update path to Android emulator
* Update path to Android emulator
* Update path to Android emulator
* Fix check for JAVA_HOME
* Install sudo
* Better JAVA_HOME check
* Try not enabling KVM
* Try not enabling KVM
* Fix install path for Android AVD
* Try to install KVM
* Try to install KVM
* Just run tests on a single config
* Try installing KVM
* Try installing KVM
* Try installing KVM
* Try running emulator with -no-accel
* Try running tests
* Try running tests
* Try running tests
* Try freeing disk space
* Try freeing disk space
* Try freeing disk space
* Try freeing disk space
* Use x86_64-linux-android for test cases
* Use x86_64-linux-android for test cases
* Fix AVD partition size
* Fix AVD partition size
* Fix AVD partition size
* Fix location of libc++_shared.so
* Fix location of libc++_shared.so
* Fix location of libc++_shared.so
* Fix location of libc++_shared.so
* Fix location of libc++_shared.so
* Fix location of libc++_shared.so
* Fix location of Swift SDK for Android
* Fix location of Swift SDK for Android
* Fix location of Swift SDK for Android
* Fix location of Swift SDK for Android
* Fix location of Swift SDK for Android
* Fix location of Swift SDK for Android
* Fix location of Swift SDK for Android
* Set AVD partition size
* Set AVD partition size
* Set AVD partition size
* Set AVD partition size
* Set AVD partition size
* Set AVD partition size
* Set AVD partition size
* Set AVD partition size
* Set AVD partition size
* Run without a docker container
* Run without a docker container
* Run without a docker container
* Run without a docker container
* Fix ANDROID_SDK_TRIPLE
* Fix ANDROID_AVD_HOME
* Fix ANDROID_AVD_HOME
* Cleanup copy of test resources and executables
* Cleanup copy of test resources and executables
* Cleanup copy of test resources and executables
* Break up build and test run into two separate steps
* Add explicit --testing-library arg
* Check with ANDROID_SDK_TRIPLES
* Check with ANDROID_SDK_TRIPLES
* Cleanup
* Quote ANDROID_EMULATOR_TIMEOUT for shellcheck
* Add log message about which triple is under test
* Add warning when Package.swift contains macros
* Fix syntax for shellcheck
* Add input parameter description for android_sdk_triples clarifying that the last triple in the list is used for emulator testing1 parent 0c89531 commit 4905c1c
File tree
3 files changed
+175
-26
lines changed- .github/workflows
- scripts/android
3 files changed
+175
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
| |||
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
59 | | - | |
| 55 | + | |
60 | 56 | | |
61 | 57 | | |
62 | 58 | | |
| |||
Lines changed: 146 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
598 | 602 | | |
599 | 603 | | |
600 | 604 | | |
601 | | - | |
| 605 | + | |
602 | 606 | | |
603 | 607 | | |
604 | 608 | | |
605 | 609 | | |
606 | 610 | | |
607 | 611 | | |
608 | | - | |
609 | 612 | | |
610 | 613 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
| 614 | + | |
| 615 | + | |
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | 623 | | |
628 | | - | |
629 | 624 | | |
630 | 625 | | |
631 | 626 | | |
632 | 627 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | 628 | | |
641 | 629 | | |
642 | 630 | | |
| |||
660 | 648 | | |
661 | 649 | | |
662 | 650 | | |
663 | | - | |
| 651 | + | |
| 652 | + | |
664 | 653 | | |
665 | 654 | | |
666 | 655 | | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
667 | 674 | | |
668 | 675 | | |
669 | 676 | | |
| |||
0 commit comments