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 b783c37
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 @@ -46,6 +46,10 @@ jobs:
artifact_name: crypt4gh-gui
os_suffix: macos-amd64
asset_name: crypt4gh-gui
- os: macos-latest
artifact_name: crypt4gh-gui
os_suffix: macos-arm64
asset_name: crypt4gh-gui
python-version: ["3.11"]

runs-on: ${{ matrix.os }}
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
if: matrix.os == 'macOS-latest'
- name: Build GUI artifact macOS ARM64
if: matrix.os == 'macOS-latest' && matrix.os_suffix == 'macos-arm64'
run: |
pyinstaller --noconsole --onefile crypt4gh_gui.py --name ${{ matrix.asset_name }}
- name: Build GUI artifact macOS AMD64
if: matrix.os == 'macOS-latest' && matrix.os_suffix == 'macos-amd64'
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 b783c37

Please sign in to comment.