Commit 50ba1cd
Run the compiler validation suite for Android (#8)
* Run the compiler validation suite for Android
* Add --build-compiler option
* Add --cross-compile-build-swift-tools=0 from swiftlang/swift#38441
* Build with --build-llvm=0
* Check out Yams for Swift 6.1.1 build
* Add --llvm-ninja-targets-for-cross-compile-hosts=help
* Install pre-requisites
* Install build prerequisites
* Only setup local toolchain if build-compiler is not 0
* Fix Yams version checkout
* Quote arguments to build scripts
* Permit empty host-toolchain argument in build.sh
* Fix check for BUILD_COMPILER
* Re-order Docker PATH to system clang is used before Swift toolchain clang
* Use --host-test to skip attempt to test on connected device/emulator
* Install clang in Dockerfile
* Add --skip-test-linux flag to build
* Remove more folders to free up space
* Update patches
* Add docker-specific CI variants that run the compiler validation tests
* meaningless edit
* Update pull_request.yml to stop the 6.1 release builds
* Update pull_request.yml to really only build the full docker compiler with tests
* Update README.md with meaningless edit to bump build
* Update build.sh to skip testing XCTest for linux, as a handful of the linux tests fail for some reason
* Update build.sh to disable building libTesting and for 16K memory pages, as both don't work yet
* Update build.sh to skip testing Foundation for linux, which requires building SwiftPM from source first
* Update build.sh to not build each arch in a separate build directory
* Update Dockerfile to use clang 19 instead
* Add self-hosted runner CI variant
* Fix CI workflow syntax
* Update CI runner config
* Update CI runner config
* Fix name of self-hosted CI runner
* Re-order arch run sequence
* Update CI for self-hosted runner
* Build for self-hosted runner
* Add swift-6.2-branch to self-hosted run matrix
* Update build.sh to disable aarch64 temporarily, as we know it built fine
* Update pull_request.yml to disable non-compiler builds, as they all work, and comment out self-hosted till we know armv7 works
* Run compiler validation on self-hosted with increased timeout
* Update build-docker to only build for armv7
* Update pull_request.yml to disable self-hosted builds temporarily
* Update pull_request.yml to build the full compiler in github runners with the armv7 stdlib and tests
* Update build-docker to build for aarch64 first
* Update toolchain-vars.sh to use older trunk snapahot toolchain that didn't crash
* Update toolchain-vars.sh to only download the latest release compiler if building the Swift compiler from source
* Update build-docker to only build for armv7 again
* Update toolchain-vars.sh to fix setting branch variable
* Update build-docker to build for all three supported arches
* Update pull_request.yml to try self-hosted runs again
* Update build.sh to only install SDK components and remove linux stdlib
* Tolerate missing linux folder when attempting to clean up unnecessary build artifacts
* Fix extraCLIOptions in swift-toolset.json
* gcpdw
* Fix patch application
* Update apply-patches.sh to remove unused changes
* Update swift-android-testing-except-release.patch to add Testing fix
* Update swift-android.patch to remove unneeded patches
* Update build.sh to try and fix Testing and clean up the bundle more
* Fix README.md
---------
Co-authored-by: finagolfin <[email protected]>1 parent ad24ea5 commit 50ba1cd
File tree
12 files changed
+573
-76
lines changed- .github/workflows
- swift-ci/sdks/android
- patches
- scripts
12 files changed
+573
-76
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
40 | 50 | | |
41 | 51 | | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
46 | | - | |
| 57 | + | |
47 | 58 | | |
48 | 59 | | |
49 | 60 | | |
| |||
53 | 64 | | |
54 | 65 | | |
55 | 66 | | |
| 67 | + | |
| 68 | + | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
| |||
61 | 74 | | |
62 | 75 | | |
63 | 76 | | |
64 | | - | |
| 77 | + | |
65 | 78 | | |
66 | 79 | | |
67 | 80 | | |
| |||
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
102 | 118 | | |
103 | 119 | | |
104 | 120 | | |
| |||
117 | 133 | | |
118 | 134 | | |
119 | 135 | | |
| 136 | + | |
120 | 137 | | |
121 | 138 | | |
122 | 139 | | |
| |||
125 | 142 | | |
126 | 143 | | |
127 | 144 | | |
| 145 | + | |
128 | 146 | | |
129 | 147 | | |
130 | 148 | | |
| |||
135 | 153 | | |
136 | 154 | | |
137 | 155 | | |
| 156 | + | |
138 | 157 | | |
139 | 158 | | |
140 | 159 | | |
| |||
149 | 168 | | |
150 | 169 | | |
151 | 170 | | |
| 171 | + | |
152 | 172 | | |
153 | 173 | | |
154 | 174 | | |
| |||
157 | 177 | | |
158 | 178 | | |
159 | 179 | | |
| 180 | + | |
160 | 181 | | |
161 | 182 | | |
162 | 183 | | |
163 | 184 | | |
164 | 185 | | |
| 186 | + | |
165 | 187 | | |
166 | 188 | | |
167 | | - | |
168 | 189 | | |
169 | 190 | | |
170 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | | - | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 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 | + | |
0 commit comments