88 R2_BUCKET : flutter-zero-engine
99 ENGINE_CHECKOUT_PATH : ${{ github.workspace }}/engine
1010jobs :
11- windows_host_debug :
12- runs-on : windows-2022
11+ windows_host_debug_arm64 :
12+ runs-on : windows-11-arm
1313 defaults :
1414 run :
1515 shell : bash
@@ -47,45 +47,45 @@ jobs:
4747 shell : cmd
4848 run : |
4949 cd engine\src
50- flutter\bin\et.bat build --config ci\host_debug
51- - name : Upload windows-x64 /artifacts.zip
50+ flutter\bin\et.bat build --config ci\host_debug_arm64
51+ - name : Upload windows-arm64 /artifacts.zip
5252 uses : actions/upload-artifact@v4
5353 with :
5454 name : artifact_${{ steps.engine_content_hash.outputs.value }}_0
55- path : engine/src/out/ci/host_debug /zip_archives/windows-x64 /artifacts.zip
55+ path : engine/src/out/ci/host_debug_arm64 /zip_archives/windows-arm64 /artifacts.zip
5656 retention-days : 1
57- - name : Upload windows-x64 /windows-x64 -embedder.zip
57+ - name : Upload windows-arm64 /windows-arm64 -embedder.zip
5858 uses : actions/upload-artifact@v4
5959 with :
6060 name : artifact_${{ steps.engine_content_hash.outputs.value }}_1
61- path : engine/src/out/ci/host_debug /zip_archives/windows-x64 /windows-x64 -embedder.zip
61+ path : engine/src/out/ci/host_debug_arm64 /zip_archives/windows-arm64 /windows-arm64 -embedder.zip
6262 retention-days : 1
63- - name : Upload windows-x64 /font-subset.zip
63+ - name : Upload windows-arm64 /font-subset.zip
6464 uses : actions/upload-artifact@v4
6565 with :
6666 name : artifact_${{ steps.engine_content_hash.outputs.value }}_2
67- path : engine/src/out/ci/host_debug /zip_archives/windows-x64 /font-subset.zip
67+ path : engine/src/out/ci/host_debug_arm64 /zip_archives/windows-arm64 /font-subset.zip
6868 retention-days : 1
69- - name : Upload /dart-sdk-windows-x64 .zip
69+ - name : Upload /dart-sdk-windows-arm64 .zip
7070 uses : actions/upload-artifact@v4
7171 with :
7272 name : artifact_${{ steps.engine_content_hash.outputs.value }}_3
73- path : engine/src/out/ci/host_debug /zip_archives/dart-sdk-windows-x64 .zip
73+ path : engine/src/out/ci/host_debug_arm64 /zip_archives/dart-sdk-windows-arm64 .zip
7474 retention-days : 1
75- - name : Upload windows-x64 -debug/windows-x64 -flutter.zip
75+ - name : Upload windows-arm64 -debug/windows-arm64 -flutter.zip
7676 uses : actions/upload-artifact@v4
7777 with :
7878 name : artifact_${{ steps.engine_content_hash.outputs.value }}_4
79- path : engine/src/out/ci/host_debug /zip_archives/windows-x64 -debug/windows-x64 -flutter.zip
79+ path : engine/src/out/ci/host_debug_arm64 /zip_archives/windows-arm64 -debug/windows-arm64 -flutter.zip
8080 retention-days : 1
81- - name : Upload windows-x64 /flutter-cpp-client-wrapper.zip
81+ - name : Upload windows-arm64 /flutter-cpp-client-wrapper.zip
8282 uses : actions/upload-artifact@v4
8383 with :
8484 name : artifact_${{ steps.engine_content_hash.outputs.value }}_5
85- path : engine/src/out/ci/host_debug /zip_archives/windows-x64 /flutter-cpp-client-wrapper.zip
85+ path : engine/src/out/ci/host_debug_arm64 /zip_archives/windows-arm64 /flutter-cpp-client-wrapper.zip
8686 retention-days : 1
87- windows_host_profile :
88- runs-on : windows-2022
87+ windows_host_profile_arm64 :
88+ runs-on : windows-11-arm
8989 defaults :
9090 run :
9191 shell : bash
@@ -123,15 +123,15 @@ jobs:
123123 shell : cmd
124124 run : |
125125 cd engine\src
126- flutter\bin\et.bat build --config ci\host_profile
127- - name : Upload windows-x64 -profile/windows-x64 -flutter.zip
126+ flutter\bin\et.bat build --config ci\host_profile_arm64
127+ - name : Upload windows-arm64 -profile/windows-arm64 -flutter.zip
128128 uses : actions/upload-artifact@v4
129129 with :
130130 name : artifact_${{ steps.engine_content_hash.outputs.value }}_6
131- path : engine/src/out/ci/host_profile /zip_archives/windows-x64 -profile/windows-x64 -flutter.zip
131+ path : engine/src/out/ci/host_profile_arm64 /zip_archives/windows-arm64 -profile/windows-arm64 -flutter.zip
132132 retention-days : 1
133- windows_host_release :
134- runs-on : windows-2022
133+ windows_host_release_arm64 :
134+ runs-on : windows-11-arm
135135 defaults :
136136 run :
137137 shell : bash
@@ -169,21 +169,21 @@ jobs:
169169 shell : cmd
170170 run : |
171171 cd engine\src
172- flutter\bin\et.bat build --config ci\host_release
173- - name : Upload windows-x64 -release/windows-x64 -flutter.zip
172+ flutter\bin\et.bat build --config ci\host_release_arm64
173+ - name : Upload windows-arm64 -release/windows-arm64 -flutter.zip
174174 uses : actions/upload-artifact@v4
175175 with :
176176 name : artifact_${{ steps.engine_content_hash.outputs.value }}_7
177- path : engine/src/out/ci/host_release /zip_archives/windows-x64 -release/windows-x64 -flutter.zip
177+ path : engine/src/out/ci/host_release_arm64 /zip_archives/windows-arm64 -release/windows-arm64 -flutter.zip
178178 retention-days : 1
179179 publish_artifacts :
180180 defaults :
181181 run :
182182 shell : bash
183183 needs :
184- - windows_host_debug
185- - windows_host_profile
186- - windows_host_release
184+ - windows_host_debug_arm64
185+ - windows_host_profile_arm64
186+ - windows_host_release_arm64
187187 runs-on : ubuntu-latest
188188 steps :
189189 - name : Checkout the repository
@@ -201,74 +201,74 @@ jobs:
201201 engine_content_hash=$(bin/internal/content_aware_hash.sh)
202202 echo "::notice:: Engine content hash: ${engine_content_hash}"
203203 echo "value=${engine_content_hash}" >> $GITHUB_OUTPUT
204- - name : Download windows-x64 /artifacts.zip
204+ - name : Download windows-arm64 /artifacts.zip
205205 uses : actions/download-artifact@v4
206206 with :
207207 name : artifact_${{ steps.engine_content_hash.outputs.value }}_0
208208 path : artifact-0/
209- - name : Download windows-x64 /windows-x64 -embedder.zip
209+ - name : Download windows-arm64 /windows-arm64 -embedder.zip
210210 uses : actions/download-artifact@v4
211211 with :
212212 name : artifact_${{ steps.engine_content_hash.outputs.value }}_1
213213 path : artifact-1/
214- - name : Download windows-x64 /font-subset.zip
214+ - name : Download windows-arm64 /font-subset.zip
215215 uses : actions/download-artifact@v4
216216 with :
217217 name : artifact_${{ steps.engine_content_hash.outputs.value }}_2
218218 path : artifact-2/
219- - name : Download /dart-sdk-windows-x64 .zip
219+ - name : Download /dart-sdk-windows-arm64 .zip
220220 uses : actions/download-artifact@v4
221221 with :
222222 name : artifact_${{ steps.engine_content_hash.outputs.value }}_3
223223 path : artifact-3/
224- - name : Download windows-x64 -debug/windows-x64 -flutter.zip
224+ - name : Download windows-arm64 -debug/windows-arm64 -flutter.zip
225225 uses : actions/download-artifact@v4
226226 with :
227227 name : artifact_${{ steps.engine_content_hash.outputs.value }}_4
228228 path : artifact-4/
229- - name : Download windows-x64 /flutter-cpp-client-wrapper.zip
229+ - name : Download windows-arm64 /flutter-cpp-client-wrapper.zip
230230 uses : actions/download-artifact@v4
231231 with :
232232 name : artifact_${{ steps.engine_content_hash.outputs.value }}_5
233233 path : artifact-5/
234- - name : Download windows-x64 -profile/windows-x64 -flutter.zip
234+ - name : Download windows-arm64 -profile/windows-arm64 -flutter.zip
235235 uses : actions/download-artifact@v4
236236 with :
237237 name : artifact_${{ steps.engine_content_hash.outputs.value }}_6
238238 path : artifact-6/
239- - name : Download windows-x64 -release/windows-x64 -flutter.zip
239+ - name : Download windows-arm64 -release/windows-arm64 -flutter.zip
240240 uses : actions/download-artifact@v4
241241 with :
242242 name : artifact_${{ steps.engine_content_hash.outputs.value }}_7
243243 path : artifact-7/
244- - name : Publish windows-x64 /artifacts.zip
244+ - name : Publish windows-arm64 /artifacts.zip
245245 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
246246 with :
247247 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
248248 r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
249249 r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
250250 r2-bucket : ${{ env.R2_BUCKET }}
251251 source-dir : artifact-0/
252- destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-x64
253- - name : Publish windows-x64 /windows-x64 -embedder.zip
252+ destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-arm64
253+ - name : Publish windows-arm64 /windows-arm64 -embedder.zip
254254 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
255255 with :
256256 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
257257 r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
258258 r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
259259 r2-bucket : ${{ env.R2_BUCKET }}
260260 source-dir : artifact-1/
261- destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-x64
262- - name : Publish windows-x64 /font-subset.zip
261+ destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-arm64
262+ - name : Publish windows-arm64 /font-subset.zip
263263 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
264264 with :
265265 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
266266 r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
267267 r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
268268 r2-bucket : ${{ env.R2_BUCKET }}
269269 source-dir : artifact-2/
270- destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-x64
271- - name : Publish /dart-sdk-windows-x64 .zip
270+ destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-arm64
271+ - name : Publish /dart-sdk-windows-arm64 .zip
272272 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
273273 with :
274274 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
@@ -277,39 +277,39 @@ jobs:
277277 r2-bucket : ${{ env.R2_BUCKET }}
278278 source-dir : artifact-3/
279279 destination-dir : ${{ steps.engine_content_hash.outputs.value }}/
280- - name : Publish windows-x64 -debug/windows-x64 -flutter.zip
280+ - name : Publish windows-arm64 -debug/windows-arm64 -flutter.zip
281281 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
282282 with :
283283 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
284284 r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
285285 r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
286286 r2-bucket : ${{ env.R2_BUCKET }}
287287 source-dir : artifact-4/
288- destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-x64 -debug
289- - name : Publish windows-x64 /flutter-cpp-client-wrapper.zip
288+ destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-arm64 -debug
289+ - name : Publish windows-arm64 /flutter-cpp-client-wrapper.zip
290290 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
291291 with :
292292 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
293293 r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
294294 r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
295295 r2-bucket : ${{ env.R2_BUCKET }}
296296 source-dir : artifact-5/
297- destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-x64
298- - name : Publish windows-x64 -profile/windows-x64 -flutter.zip
297+ destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-arm64
298+ - name : Publish windows-arm64 -profile/windows-arm64 -flutter.zip
299299 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
300300 with :
301301 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
302302 r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
303303 r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
304304 r2-bucket : ${{ env.R2_BUCKET }}
305305 source-dir : artifact-6/
306- destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-x64 -profile
307- - name : Publish windows-x64 -release/windows-x64 -flutter.zip
306+ destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-arm64 -profile
307+ - name : Publish windows-arm64 -release/windows-arm64 -flutter.zip
308308 uses : ryand56/r2-upload-action@b801a390acbdeb034c5e684ff5e1361c06639e7c
309309 with :
310310 r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
311311 r2-access-key-id : ${{ secrets.R2_ACCESS_KEY_ID }}
312312 r2-secret-access-key : ${{ secrets.R2_SECRET_ACCESS_KEY }}
313313 r2-bucket : ${{ env.R2_BUCKET }}
314314 source-dir : artifact-7/
315- destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-x64 -release
315+ destination-dir : ${{ steps.engine_content_hash.outputs.value }}/windows-arm64 -release
0 commit comments