Skip to content

Commit

Permalink
Try cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed May 5, 2021
1 parent 673d708 commit 77e8a59
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/upload_binary.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
python-version: [3.7]
os: [windows-2019, ubuntu-20.04, macos-latest]
os: [windows-2019, ubuntu-20.04, macos-11.0]
include:
- os: windows-2019
pathsep: ";"
Expand All @@ -21,11 +21,12 @@ jobs:
pathsep: ":"
executable_suffix: ".elf"
executable_mime: "application/x-executable"

- os: macos-latest
- os: macos-11.0
pathsep: ":"
executable_suffix: ""
executable_mime: "application/x-mach-binary"
env:
CFLAGS: "-arch arm64 -arch x86_64"

steps:
- uses: actions/checkout@v2
Expand All @@ -39,7 +40,7 @@ jobs:
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install .
python -m pip install pyinstaller
python -m pip install https://github.com/rokm/pyinstaller/archive/macos11-arm-support.zip
- name: Build binary
run: |
Expand Down

0 comments on commit 77e8a59

Please sign in to comment.