Skip to content

Commit

Permalink
add macos amd64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
teemukataja committed Jun 5, 2024
1 parent 92829bc commit 77de3b4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, macos-latest-large, windows-latest]
include:
- os: ubuntu-latest
artifact_name: crypt4gh-gui
Expand All @@ -43,6 +43,10 @@ jobs:
os_suffix: windows-amd64
asset_name: crypt4gh-gui
- os: macos-latest
artifact_name: crypt4gh-gui
os_suffix: macos-arm64
asset_name: crypt4gh-gui
- os: macos-latest-large
artifact_name: crypt4gh-gui
os_suffix: macos-amd64
asset_name: crypt4gh-gui
Expand Down Expand Up @@ -81,10 +85,14 @@ jobs:
docker pull cscfi/pyinstaller
docker run --rm -v "${PWD}:/builder" cscfi/pyinstaller --noconsole --onefile crypt4gh_gui.py --name ${{ matrix.asset_name }}
sudo chown -R $USER:$GROUP dist/
- name: Build GUI artifact macOS
- name: Build GUI artifact macOS arm64
if: matrix.os == 'macOS-latest'
run: |
pyinstaller --noconsole --onefile crypt4gh_gui.py --name ${{ matrix.asset_name }}
- name: Build GUI artifact macOS amd64
if: matrix.os == 'macOS-latest-large'
run: |
pyinstaller --target-architecture x86_64 --noconsole --onefile crypt4gh_gui.py --name ${{ matrix.asset_name }}
- name: Build GUI artifact windows
if: matrix.os == 'windows-latest'
shell: bash
Expand Down

0 comments on commit 77de3b4

Please sign in to comment.