Skip to content

Commit 2e6ed6d

Browse files
committed
added windows ARM64
1 parent 830366a commit 2e6ed6d

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: windows-latest
1717
strategy:
1818
matrix:
19-
architecture: [x64, arm64]
19+
architecture: [x64]
2020
steps:
2121
- name: Checkout code
2222
uses: actions/checkout@v4
@@ -30,7 +30,7 @@ jobs:
3030
run: flutter pub get
3131

3232
- name: Build Windows (${{ matrix.architecture }})
33-
run: flutter build windows --release --target-platform windows-${{ matrix.architecture }}
33+
run: flutter build windows --release
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 /DMyAppArchitecture=${{ matrix.architecture }} CCloud.iss
43+
ISCC.exe CCloud.iss
4444
shell: cmd
4545

4646
- name: Package Windows build
4747
run: |
4848
mkdir -p release
49-
copy windows\installer\ccloud_gui-setup-${{ matrix.architecture }}.exe release\
49+
copy windows\installer\ccloud_gui-setup.exe release\
5050
shell: cmd
5151

5252
- name: Create Windows Portable ZIP
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
name: windows-build-${{ matrix.architecture }}
6464
path: |
65-
release/ccloud_gui-setup-${{ matrix.architecture }}.exe
65+
release/ccloud_gui-setup.exe
6666
release/CCloud-windows-${{ matrix.architecture }}-portable.zip
6767
6868
build-macos:
@@ -299,11 +299,6 @@ 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-
307302
- name: Download macOS artifacts
308303
uses: actions/download-artifact@v4
309304
with:
@@ -336,10 +331,8 @@ jobs:
336331
draft: false
337332
prerelease: false
338333
files: |
339-
ccloud_gui-setup-x64.exe
340-
ccloud_gui-setup-arm64.exe
334+
ccloud_gui-setup.exe
341335
CCloud-windows-x64-portable.zip
342-
CCloud-windows-arm64-portable.zip
343336
CCloud-macos-universal.dmg
344337
CCloud-macos-universal.zip
345338
CCloud-linux.tar.gz
@@ -359,10 +352,8 @@ jobs:
359352
360353
| Platform | Architecture | Download |
361354
|----------|-------------|----------|
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> |
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> |
363356
| 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> |
366357
| 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> |
367358
| 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> |
368359
| 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> |

windows/installer/CCloud.iss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define MyAppPublisher "Hossein Pira"
44
#define MyAppURL "https://github.com/code3-dev/CCloud-GUI"
55
#define MyAppExeName "ccloud_gui.exe"
6-
#define MyAppArchitecture "x64"
76

87
[Setup]
98
AppId={{8B4D4F4D-4F4D-4D4F-4D4F-4D4D4D4D4D4E}
@@ -16,7 +15,7 @@ AppUpdatesURL={#MyAppURL}
1615
DefaultDirName={autopf}\{#MyAppName}
1716
DisableProgramGroupPage=yes
1817
OutputDir=.
19-
OutputBaseFilename=ccloud_gui-setup-{#MyAppArchitecture}
18+
OutputBaseFilename=ccloud_gui-setup
2019
Compression=lzma
2120
SolidCompression=yes
2221
WizardStyle=modern
@@ -30,8 +29,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
3029
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons"; Flags: unchecked
3130

3231
[Files]
33-
Source: "..\..\build\windows\{#MyAppArchitecture}\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
34-
Source: "..\..\build\windows\{#MyAppArchitecture}\runner\Release\*"; Excludes: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
32+
Source: "..\..\build\windows\x64\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
33+
Source: "..\..\build\windows\x64\runner\Release\*"; Excludes: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
3534

3635
[Icons]
3736
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"

0 commit comments

Comments
 (0)