mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +00:00
fix macOS CI
This commit is contained in:
parent
19e14a5608
commit
6ef58fad31
2 changed files with 15 additions and 13 deletions
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
|
@ -8,7 +8,9 @@ on:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**.ini"
|
- "**.ini"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- master
|
||||||
|
- task/update
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**.ini"
|
- "**.ini"
|
||||||
|
@ -232,15 +234,15 @@ jobs:
|
||||||
echo "GIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
echo "GIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||||
echo "GIT_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
|
echo "GIT_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
|
||||||
echo "CURR_DATE=$(date +%Y-%m-%d)" >> $GITHUB_ENV
|
echo "CURR_DATE=$(date +%Y-%m-%d)" >> $GITHUB_ENV
|
||||||
- name: "Install 10.14 SDK"
|
# - name: "Install 10.14 SDK"
|
||||||
if: success()
|
# if: success()
|
||||||
shell: bash
|
# shell: bash
|
||||||
working-directory: ${{ github.workspace }}
|
# working-directory: ${{ github.workspace }}
|
||||||
run: |
|
# run: |
|
||||||
wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.14.sdk.tar.xz
|
# wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.14.sdk.tar.xz
|
||||||
tar -xf MacOSX10.14.sdk.tar.xz
|
# tar -xf MacOSX10.14.sdk.tar.xz
|
||||||
rm MacOSX10.14.sdk.tar.xz
|
# rm MacOSX10.14.sdk.tar.xz
|
||||||
sudo mv MacOSX10.14.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
# sudo mv MacOSX10.14.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
||||||
- name: "Download and Install prerequisites"
|
- name: "Download and Install prerequisites"
|
||||||
if: success()
|
if: success()
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -255,7 +257,7 @@ jobs:
|
||||||
libao \
|
libao \
|
||||||
sound-touch \
|
sound-touch \
|
||||||
hidapi \
|
hidapi \
|
||||||
qt@5
|
qt@6
|
||||||
- name: "Build ${{ matrix.build_type }} Dolphin"
|
- name: "Build ${{ matrix.build_type }} Dolphin"
|
||||||
if: success()
|
if: success()
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
# build-mac.sh
|
# build-mac.sh
|
||||||
|
|
||||||
QT_BREW_PATH=$(brew --prefix qt@5)
|
QT_BREW_PATH=$(brew --prefix qt@6)
|
||||||
CMAKE_FLAGS="-DQt5_DIR=${QT_BREW_PATH}/lib/cmake/Qt5 -DENABLE_NOGUI=false"
|
CMAKE_FLAGS="-DQT_DIR=${QT_BREW_PATH}/lib/cmake/Qt5 -DENABLE_NOGUI=false"
|
||||||
|
|
||||||
PLAYBACK_CODES_PATH="./Data/PlaybackGeckoCodes/"
|
PLAYBACK_CODES_PATH="./Data/PlaybackGeckoCodes/"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue