mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
Fix CMake prefixes
This commit is contained in:
parent
76c9340920
commit
08f5a2aa82
8
.github/workflows/build-macos-universal.yml
vendored
8
.github/workflows/build-macos-universal.yml
vendored
@ -22,6 +22,8 @@ jobs:
|
||||
build-arm64:
|
||||
needs: prepare
|
||||
runs-on: [self-hosted, macOS, ARM64]
|
||||
env:
|
||||
homebrew_prefix: /opt/homebrew
|
||||
|
||||
steps:
|
||||
- name: Create build directory
|
||||
@ -29,7 +31,7 @@ jobs:
|
||||
|
||||
- name: Configure
|
||||
working-directory: ${{runner.workspace}}/build/arm64
|
||||
run: arch -arm64 /opt/homebrew/bin/cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH="$(brew --prefix qt@6);$(brew --prefix libarchive)" -DMACOS_BUNDLE_LIBS=ON -DUSE_QT6=ON
|
||||
run: arch -arm64 ${{env.homebrew_prefix}}/bin/cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH="${{env.homebrew_prefix}}/opt/qt@6;${{env.homebrew_prefix}}/opt/libarchive" -DMACOS_BUNDLE_LIBS=ON -DUSE_QT6=ON
|
||||
|
||||
- name: Make
|
||||
working-directory: ${{runner.workspace}}/build/arm64
|
||||
@ -38,6 +40,8 @@ jobs:
|
||||
build-x86_64:
|
||||
needs: prepare
|
||||
runs-on: [self-hosted, macOS, ARM64]
|
||||
env:
|
||||
homebrew_prefix: /usr/local
|
||||
|
||||
steps:
|
||||
- name: Create build directory
|
||||
@ -45,7 +49,7 @@ jobs:
|
||||
|
||||
- name: Configure
|
||||
working-directory: ${{runner.workspace}}/build/x86_64
|
||||
run: arch -x86_64 /usr/local/bin/cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH="$(brew --prefix qt@6);$(brew --prefix libarchive)" -DMACOS_BUNDLE_LIBS=ON -DUSE_QT6=ON
|
||||
run: arch -x86_64 ${{env.homebrew_prefix}}/bin/cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH="${{env.homebrew_prefix}}/opt/qt@6;${{env.homebrew_prefix}}/opt/libarchive" -DMACOS_BUNDLE_LIBS=ON -DUSE_QT6=ON
|
||||
|
||||
- name: Make
|
||||
working-directory: ${{runner.workspace}}/build/x86_64
|
||||
|
Loading…
Reference in New Issue
Block a user