Skip to content

Commit

Permalink
feat: add arm64 binaries for Windows
Browse files Browse the repository at this point in the history
related to containers#3443

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Aug 23, 2023
1 parent f38537d commit 4f7560c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
15 changes: 12 additions & 3 deletions .electron-builder.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,22 @@ const config = {
},
files: ['packages/**/dist/**', 'extensions/**/builtin/*.cdix/**'],
portable: {
artifactName: `podman-desktop${artifactNameSuffix}-\${version}.\${ext}`,
artifactName: `podman-desktop${artifactNameSuffix}-\${version}-\${arch}.\${ext}`,
},
nsis: {
artifactName: `podman-desktop${artifactNameSuffix}-\${version}-setup.\${ext}`,
artifactName: `podman-desktop${artifactNameSuffix}-\${version}-setup-\${arch}.\${ext}`,
},
win: {
target: ['portable', 'nsis'],
target: [
{
target: 'portable',
arch: ['x64', 'arm64'],
},
{
target: 'nsis',
arch: ['x64', 'arm64'],
},
],
sign: configuration => azureCodeSign(configuration.path),
},
flatpak: {
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,23 @@ jobs:

- uses: actions/upload-artifact@v3.1.2
with:
name: windows-exe
path: ./dist/podman-desktop*.exe
name: windows-installer-x64
path: ./dist/podman-desktop*-setup-x64.exe

- uses: actions/upload-artifact@v3.1.2
with:
name: windows-installer-arm64
path: ./dist/podman-desktop*-setup-arm64.exe

- uses: actions/upload-artifact@v3.1.2
with:
name: windows-exe-x64
path: ./dist/podman-desktop*-next-x64.exe

- uses: actions/upload-artifact@v3.1.2
with:
name: windows-exe-arm64
path: ./dist/podman-desktop*-next-arm64.exe

linux:
name: Linux
Expand Down

0 comments on commit 4f7560c

Please sign in to comment.