Skip to content

Commit

Permalink
Fixed build workflow to only target x64.
Browse files Browse the repository at this point in the history
Due to `setup-python@v2` limitations, only x64 binary are created for
macOS, universal binaries will be available once the following PR is
merged: actions/python-versions#114
  • Loading branch information
FtZPetruska committed Jan 2, 2022
1 parent 7bcd352 commit d70e2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- {
name: MacOS,
os: macos-latest,
pip-flags: "--compile --no-binary :all:",
pyinstaller-flags: "--target-arch universal2",
pyinstaller-flags: "--target-arch x86_64", # Should be replaced by 'universal2' once https://github.com/actions/python-versions/pull/114 is merged
# pip-flags: "--compile --no-binary :all:" uncomment when building for 'universal2'
}
runs-on: ${{ matrix.platform.os }}
steps:
Expand Down

0 comments on commit d70e2f7

Please sign in to comment.