Skip to content

Commit

Permalink
Use github's M1 mac runners
Browse files Browse the repository at this point in the history
  • Loading branch information
1over137 committed Nov 27, 2024
1 parent 110ebb7 commit a6fcad8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
VOCABSIEVE_DEBUG_BUILD: ${{ github.ref_type != 'tag' && 'yes' || '' }} # Set to 'yes' if not a tag
strategy:
matrix:
os: [windows-latest, macos-13, ubuntu-latest, self-hosted]
os: [windows-latest, macos-13, ubuntu-latest, macos-14] # macos-14 is arm
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
brew install lzo
cd cx_freeze
python setup.py bdist_dmg
if: ${{ matrix.os == 'macos-13' || matrix.os == 'self-hosted'}}
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14'}}
- name: Build Linux AppImage
run: |
pip install python-appimage
Expand All @@ -49,11 +49,11 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os == 'windows-latest' && 'Windows' || matrix.os == 'macos-13' && 'MacOS (Intel)' || matrix.os == 'self-hosted' && 'MacOS (Apple M1)' }} App
name: ${{ matrix.os == 'windows-latest' && 'Windows' || matrix.os == 'macos-13' && 'MacOS (Intel)' || matrix.os == 'macos-14' && 'MacOS (Apple M1)' }} App
path: |
cx_freeze/dist/*
cx_freeze/build/*.dmg
if: ${{ matrix.os == 'windows-latest' || matrix.os == 'macos-13' || matrix.os == 'self-hosted' }}
if: ${{ matrix.os == 'windows-latest' || matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
- name: Upload Linux AppImage
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a6fcad8

Please sign in to comment.