Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yestalgia authored Sep 29, 2024
1 parent 6546554 commit 3849134
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ jobs:
path: ${{matrix.task}}-${{env.OUTFILE}}

build-macos:
runs-on: macos-latest # Updated to use the latest macOS version
runs-on: macos-latest # Target the latest macOS version
name: QLCplus macOS ${{matrix.task}}
strategy:
fail-fast: false
Expand Down Expand Up @@ -537,18 +537,19 @@ jobs:
- name: Dependencies
run: |
brew update
brew install fftw || true # Avoid reinstalling fftw if already installed
brew install mad || true # Avoid reinstalling mad if already installed
brew install libsndfile || true # Avoid reinstalling libsndfile if already installed
brew install libftdi || true # Avoid reinstalling libftdi if already installed
brew link --overwrite [email protected] # Updated to link latest Python version (adjust if needed)
brew install fftw --build-from-source --arch=arm64 || true # Ensure arm64 compatibility
brew install mad --build-from-source --arch=arm64 || true
brew install libsndfile --build-from-source --arch=arm64 || true
brew install libftdi --build-from-source --arch=arm64 || true
brew link --overwrite [email protected] # Ensure Python is correctly linked
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
dir: "${{ github.workspace }}/qt/"
modules: ${{ env.QT_MODULES }}
arch: "arm64" # Specify the architecture for Apple Silicon Macs

- name: Configure build
shell: bash
Expand Down Expand Up @@ -601,3 +602,4 @@ jobs:
with:
name: QLC+-${{env.APPVERSION}}-${{env.BUILD_DATE}}-${{env.GIT_REV}}.dmg
path: QLC+_${{ matrix.task }}.dmg

0 comments on commit 3849134

Please sign in to comment.