1616 runs-on : windows-latest
1717 strategy :
1818 matrix :
19- architecture : [x64]
19+ architecture : [x64, arm64 ]
2020 steps :
2121 - name : Checkout code
2222 uses : actions/checkout@v4
3030 run : flutter pub get
3131
3232 - name : Build Windows (${{ matrix.architecture }})
33- run : flutter build windows --release
33+ run : flutter build windows --release --target-platform windows-${{ matrix.architecture }}
3434
3535 - name : Install Inno Setup
3636 run : |
@@ -40,13 +40,13 @@ jobs:
4040 - name : Create Windows installer
4141 run : |
4242 cd windows\installer
43- ISCC.exe CCloud.iss
43+ ISCC.exe /DMyAppArchitecture=${{ matrix.architecture }} CCloud.iss
4444 shell : cmd
4545
4646 - name : Package Windows build
4747 run : |
4848 mkdir -p release
49- copy windows\installer\ccloud_gui-setup.exe release\
49+ copy windows\installer\ccloud_gui-setup-${{ matrix.architecture }} .exe release\
5050 shell : cmd
5151
5252 - name : Create Windows Portable ZIP
6262 with :
6363 name : windows-build-${{ matrix.architecture }}
6464 path : |
65- release/ccloud_gui-setup.exe
65+ release/ccloud_gui-setup-${{ matrix.architecture }} .exe
6666 release/CCloud-windows-${{ matrix.architecture }}-portable.zip
6767
6868 build-macos :
@@ -299,6 +299,11 @@ jobs:
299299 with :
300300 name : windows-build-x64
301301
302+ - name : Download Windows artifacts (ARM64)
303+ uses : actions/download-artifact@v4
304+ with :
305+ name : windows-build-arm64
306+
302307 - name : Download macOS artifacts
303308 uses : actions/download-artifact@v4
304309 with :
@@ -331,8 +336,10 @@ jobs:
331336 draft : false
332337 prerelease : false
333338 files : |
334- ccloud_gui-setup.exe
339+ ccloud_gui-setup-x64.exe
340+ ccloud_gui-setup-arm64.exe
335341 CCloud-windows-x64-portable.zip
342+ CCloud-windows-arm64-portable.zip
336343 CCloud-macos-universal.dmg
337344 CCloud-macos-universal.zip
338345 CCloud-linux.tar.gz
@@ -352,8 +359,10 @@ jobs:
352359
353360 | Platform | Architecture | Download |
354361 |----------|-------------|----------|
355- | Windows | x64 (Installer) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/ccloud_gui-setup.exe"><img src="https://img.shields.io/badge/Windows-Installer-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows Installer"></a> |
362+ | Windows | x64 (Installer) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/ccloud_gui-setup-x64 .exe"><img src="https://img.shields.io/badge/Windows-x64-- Installer-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows x64 Installer"></a> |
356363 | Windows | x64 (Portable ZIP) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-windows-x64-portable.zip"><img src="https://img.shields.io/badge/Windows-x64--Portable--ZIP-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows x64 Portable ZIP"></a> |
364+ | Windows | ARM64 (Installer) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/ccloud_gui-setup-arm64.exe"><img src="https://img.shields.io/badge/Windows-ARM64--Installer-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows ARM64 Installer"></a> |
365+ | Windows | ARM64 (Portable ZIP) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-windows-arm64-portable.zip"><img src="https://img.shields.io/badge/Windows-ARM64--Portable--ZIP-0078D6?style=for-the-badge&logo=windows&logoColor=white" alt="Windows ARM64 Portable ZIP"></a> |
357366 | macOS | Universal (.dmg) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-macos-universal.dmg"><img src="https://img.shields.io/badge/macOS-Universal-000000?style=for-the-badge&logo=apple&logoColor=white" alt="macOS Universal DMG"></a> |
358367 | macOS | Universal (.zip) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-macos-universal.zip"><img src="https://img.shields.io/badge/macOS-Universal-000000?style=for-the-badge&logo=apple&logoColor=white" alt="macOS Universal ZIP"></a> |
359368 | Linux | x64 (tar.gz) | <a href="https://github.com/code3-dev/CCloud-GUI/releases/download/${{ env.TAG_NAME }}/CCloud-linux.tar.gz"><img src="https://img.shields.io/badge/Linux-tar.gz-FCC624?style=for-the-badge&logo=linux&logoColor=black" alt="Linux tar.gz"></a> |
0 commit comments