mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
push another macos arch:
This commit is contained in:
parent
6cfe4086ea
commit
66b85b3244
1 changed files with 27 additions and 24 deletions
51
.github/workflows/ci.yml
vendored
51
.github/workflows/ci.yml
vendored
|
@ -12,87 +12,90 @@ jobs:
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Purge .git for space reasons
|
- name: Purge .git for space reasons
|
||||||
run: rm -rf /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/.git
|
run: rm -rf /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/.git
|
||||||
|
|
||||||
- name: Setup Packages
|
- name: Setup Packages
|
||||||
run: sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && sudo flatpak install org.kde.Sdk//5.15 org.kde.Platform//5.15 -y && sudo dnf install libusb1-devel cmake git gcc-c++ libXext-devel libgudev qt6-qtbase-devel systemd-devel openal-soft-devel libevdev-devel libao-devel SOIL-devel libXrandr-devel pulseaudio-libs-devel bluez-libs-devel p7zip SDL2-devel -y
|
run: |
|
||||||
|
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
|
||||||
|
sudo flatpak install org.kde.Sdk//5.15 org.kde.Platform//5.15 -y && \
|
||||||
|
sudo dnf install libusb1-devel cmake git gcc-c++ libXext-devel libgudev qt6-qtbase-devel systemd-devel openal-soft-devel libevdev-devel libao-devel SOIL-devel libXrandr-devel pulseaudio-libs-devel bluez-libs-devel p7zip SDL2-devel -y
|
||||||
- name: Run Flatpak Builder
|
- name: Run Flatpak Builder
|
||||||
uses: flatpak/flatpak-github-actions@v2
|
uses: flatpak/flatpak-github-actions@v2
|
||||||
with:
|
with:
|
||||||
manifest-path: Distribution/flatpak.yml
|
manifest-path: Distribution/flatpak.yml
|
||||||
bundle: DolphinMPN-linux.flatpak
|
bundle: DolphinMPN-linux.flatpak
|
||||||
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: DolphinMPN-Linux-flatpak
|
name: DolphinMPN-Flatpak-x86_64
|
||||||
path: /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/Distribution/OUT
|
path: /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/Distribution/OUT
|
||||||
|
|
||||||
build_appimage:
|
build_appimage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Submodules
|
- name: Setup Submodules
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Setup Packages
|
- name: Setup Packages
|
||||||
run: sudo apt install ninja-build desktop-file-utils git cmake ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libevdev-dev libusb-1.0-0-dev libxrandr-dev libxi-dev libpangocairo-1.0-0 qt6-base-private-dev libqt6svg6-dev libbluetooth-dev libasound2-dev libpulse-dev libgl1-mesa-dev libcurl4-openssl-dev
|
run: sudo apt install ninja-build desktop-file-utils git cmake ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libevdev-dev libusb-1.0-0-dev libxrandr-dev libxi-dev libpangocairo-1.0-0 qt6-base-private-dev libqt6svg6-dev libbluetooth-dev libasound2-dev libpulse-dev libgl1-mesa-dev libcurl4-openssl-dev
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build && cd build && cmake .. -G Ninja -DLINUX_LOCAL_DEV=true -DCMAKE_INSTALL_PREFIX=/usr -DDISTRIBUTOR="Mario Party Netplay" && ninja -j8
|
mkdir -p build && cd build && cmake .. -G Ninja -DLINUX_LOCAL_DEV=true -DCMAKE_INSTALL_PREFIX=/usr -DDISTRIBUTOR="Mario Party Netplay" && ninja -j8
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: DolphinMPN-Linux-AppImage
|
name: DolphinMPN-AppImage-x86_64
|
||||||
path: root/
|
path: root/
|
||||||
|
|
||||||
build_macos:
|
build_macos:
|
||||||
runs-on: macos-13
|
runs-on: macos-13 # TODO: Upgrade to 14, this is the latest version that supports building with an intel machine.
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Submodules
|
- name: Setup Submodules
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Setup Packages
|
- name: Setup Packages
|
||||||
run: brew install qt6 molten-vk p7zip pkgconfig cmake ninja
|
run: brew install qt6 molten-vk p7zip pkgconfig cmake ninja
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build && cd build && cmake .. -G Ninja -DCMAKE_CXX_FLAGS="-Xclang -fcolor-diagnostics" -DCMAKE_PREFIX_PATH=$(brew --prefix qt6) -DDISTRIBUTOR="Mario Party Netplay" && ninja -j8
|
mkdir -p build && cd build && cmake .. -G Ninja -DCMAKE_CXX_FLAGS="-Xclang -fcolor-diagnostics" -DCMAKE_PREFIX_PATH=$(brew --prefix qt6) -DDISTRIBUTOR="Mario Party Netplay" && ninja -j8
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: DolphinMPN-macOS
|
name: DolphinMPN-macOS-x86_64
|
||||||
|
path: build/Binaries/
|
||||||
|
|
||||||
|
build_macos_arm64:
|
||||||
|
runs-on: macos-14
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup Submodules
|
||||||
|
run: git submodule update --init --recursive
|
||||||
|
- name: Setup Packages
|
||||||
|
run: brew install qt6 molten-vk p7zip pkgconfig cmake ninja
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
mkdir -p build && cd build && cmake .. -G Ninja -DCMAKE_CXX_FLAGS="-Xclang -fcolor-diagnostics" -DCMAKE_PREFIX_PATH=$(brew --prefix qt6) -DDISTRIBUTOR="Mario Party Netplay" && ninja -j8
|
||||||
|
- name: Upload Build Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: DolphinMPN-macOS-arm64
|
||||||
path: build/Binaries/
|
path: build/Binaries/
|
||||||
|
|
||||||
build_windows:
|
build_windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Submodules
|
- name: Setup Submodules
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Setup MSBuild
|
- name: Setup MSBuild
|
||||||
uses: microsoft/setup-msbuild@v1.0.2
|
uses: microsoft/setup-msbuild@v1.0.2
|
||||||
with:
|
with:
|
||||||
vs-version: '16.6.2'
|
vs-version: '16.6.2'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: msbuild "D:\a\Dolphin-MPN\Dolphin-MPN\Source\dolphin-emu.sln" /verbosity:minimal /property:Configuration=Release /property:Platform=x64
|
run: msbuild "D:\a\Dolphin-MPN\Dolphin-MPN\Source\dolphin-emu.sln" /verbosity:minimal /property:Configuration=Release /property:Platform=x64
|
||||||
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: DolphinMPN-win32
|
name: DolphinMPN-win32-x86_64
|
||||||
path: Binary/x64/
|
path: Binary/x64/
|
Loading…
Add table
Add a link
Reference in a new issue