Skip to content

Commit

Permalink
debug macos processor
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Wahl committed Aug 14, 2024
1 parent ac986c6 commit 7a50c55
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/build-release-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,29 @@ jobs:
if-no-files-found: error
name: ${{ github.job }}

macos:
macos-intel:
runs-on: macos-12
needs: test
steps:
- uses: actions/checkout@v4
- run: python -c "import platform; print(platform.processor())"
- run: pip3 install --no-warn-script-location -r build/requirements/macos.txt
- run: cd ${{ github.workspace }}/build; python3 build.py
env:
PYTHONPATH: ${{ github.workspace }}
- uses: actions/upload-artifact@v4
with:
path: build/*.dmg
retention-days: 1
if-no-files-found: error
name: ${{ github.job }}

macos-arm:
runs-on: macos-14
needs: test
steps:
- uses: actions/checkout@v4
- run: python -c "import platform; print(platform.processor())"
- run: pip3 install --no-warn-script-location -r build/requirements/macos.txt
- run: cd ${{ github.workspace }}/build; python3 build.py
env:
Expand Down Expand Up @@ -310,7 +328,7 @@ jobs:
repo-debian:
runs-on: ubuntu-latest
# try to avoid race condition and start uploading only after the last install package has been build
needs: [debian, fedora-37, fedora-38, fedora-39, fedora-40, fedora-41, rhel-9, macos, windows-32, windows-64, windows-64-debug]
needs: [debian, fedora-37, fedora-38, fedora-39, fedora-40, fedora-41, rhel-9, macos-intel, macos-arm, windows-32, windows-64, windows-64-debug]
env:
family: debian
steps:
Expand Down
2 changes: 2 additions & 0 deletions build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@

DIST_NAME, DIST_VERSION, DIST_ID = get_distro()

#MACOS_PROCESSOR = platform.processor()

# depending on debug build or not a console window will be shown or not
if len(sys.argv) > 1 and sys.argv[1] == 'debug':
DEBUG = True
Expand Down

0 comments on commit 7a50c55

Please sign in to comment.