Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cemu-project/Cemu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0-95
Choose a base ref
...
head repository: cemu-project/Cemu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Aug 24, 2024

  1. Copy the full SHA
    dc9d99b View commit details

Commits on Aug 26, 2024

  1. Update translation files

    Cemu-Language CI committed Aug 26, 2024
    Copy the full SHA
    d7f39aa View commit details
  2. Preparations for 2.1 (#1306)

    Exzap authored Aug 26, 2024
    Copy the full SHA
    1234e2c View commit details

Commits on Aug 28, 2024

  1. Update translation files

    Cemu-Language CI committed Aug 28, 2024
    Copy the full SHA
    03484d2 View commit details
  2. Copy the full SHA
    9a53b19 View commit details

Commits on Sep 2, 2024

  1. Copy the full SHA
    b069906 View commit details
  2. Copy the full SHA
    0d8fd7c View commit details

Commits on Sep 8, 2024

  1. Copy the full SHA
    ba54d15 View commit details
  2. Update translation files

    Cemu-Language CI committed Sep 8, 2024
    Copy the full SHA
    1a4d966 View commit details

Commits on Sep 15, 2024

  1. Copy the full SHA
    a05bdb1 View commit details

Commits on Sep 16, 2024

  1. Copy the full SHA
    adffd53 View commit details

Commits on Sep 17, 2024

  1. Copy the full SHA
    8508c62 View commit details

Commits on Oct 3, 2024

  1. Copy the full SHA
    6dc73f5 View commit details

Commits on Oct 14, 2024

  1. Copy the full SHA
    3acd0c4 View commit details

Commits on Oct 17, 2024

  1. Linux: Fix crash on invalid command-line arguments

    use std::cout instead of wxMessageBox which does not work when wxWidgets has not been initialised yet
    goeiecool9999 committed Oct 17, 2024
    Copy the full SHA
    d657545 View commit details

Commits on Oct 18, 2024

  1. Copy the full SHA
    f9a4b2d View commit details

Commits on Oct 25, 2024

  1. Copy the full SHA
    63e1289 View commit details

Commits on Oct 28, 2024

  1. Copy the full SHA
    459fd5d View commit details

Commits on Oct 30, 2024

  1. Copy the full SHA
    47001ad View commit details

Commits on Nov 1, 2024

  1. nn_nfp: Implement GetNfpReadOnlyInfo and fix deactivate event

    Fixes Amiibos not being detected in MK8
    Exzap committed Nov 1, 2024
    Copy the full SHA
    1c49a8a View commit details

Commits on Nov 5, 2024

  1. Copy the full SHA
    9941e00 View commit details

Commits on Nov 7, 2024

  1. Copy the full SHA
    813f914 View commit details

Commits on Nov 9, 2024

  1. Copy the full SHA
    4ac1ab1 View commit details
  2. Copy the full SHA
    2e82947 View commit details

Commits on Nov 11, 2024

  1. Copy the full SHA
    ca2e0a7 View commit details

Commits on Nov 13, 2024

  1. FST: Refactoring to fix a read bug + verify all reads

    - Fixes a bug where corrupted data would be returned when reading files from unhashed sections with non-block aligned offset or size
    - Added hash checks for all reads where possible. This means that FST now can automatically catch corruptions when they are encountered while reading from the volume
    Exzap committed Nov 13, 2024
    Copy the full SHA
    a5717e1 View commit details
  2. erreula: Rework implementation and fix bugs

    - ErrEula doesn't disappear on its own anymore. The expected behavior is for the game to call Disappear once a button has been selected. This fixes issues where the dialog would softlock in some games
    - Modernized code a bit
    - Added a subtle fade in/out effect
    Exzap committed Nov 13, 2024
    Copy the full SHA
    6665835 View commit details
  3. Copy the full SHA
    719c631 View commit details
  4. CI: Remove outdated workflow

    Exzap committed Nov 13, 2024
    Copy the full SHA
    6f9f3d5 View commit details

Commits on Nov 16, 2024

  1. Copy the full SHA
    269d5b9 View commit details

Commits on Nov 21, 2024

  1. Copy the full SHA
    2065ac5 View commit details
  2. Latte: Add support for shader instructions MIN_UINT and MAX_UINT

    Seen in the eShop version of Fatal Frame
    Also made some warnings less spammy since this game seems to trigger it a lot
    Exzap committed Nov 21, 2024
    Copy the full SHA
    c3e29fb View commit details
  3. Copy the full SHA
    7b513f1 View commit details
  4. Copy the full SHA
    409f12b View commit details

Commits on Nov 22, 2024

  1. Copy the full SHA
    90eb2e0 View commit details

Commits on Nov 30, 2024

  1. Copy the full SHA
    0735237 View commit details

Commits on Dec 2, 2024

  1. Copy the full SHA
    80a6057 View commit details
  2. Copy the full SHA
    eca7374 View commit details

Commits on Dec 7, 2024

  1. Update translation files

    Cemu-Language CI committed Dec 7, 2024
    Copy the full SHA
    40d9664 View commit details
  2. Camera: Set error code in CAMInit

    Fixes Hunter's Trophy 2 crashing on boot
    Exzap committed Dec 7, 2024
    Copy the full SHA
    e2d0871 View commit details
  3. Copy the full SHA
    356cf0e View commit details
  4. Copy the full SHA
    934cb54 View commit details
  5. Copy the full SHA
    dd0af0a View commit details

Commits on Dec 16, 2024

  1. Copy the full SHA
    adab729 View commit details
  2. Copy the full SHA
    6aaad1e View commit details
  3. Copy the full SHA
    b53b223 View commit details

Commits on Dec 18, 2024

  1. Copy the full SHA
    3738ccd View commit details
  2. Copy the full SHA
    2b0cbf7 View commit details

Commits on Dec 30, 2024

  1. build: Add ALLOW_PORTABLE flag (#1464)

    * Add ALLOW_PORTABLE cmake flag
    * Also check that `portable` is a directory
    capitalistspz authored Dec 30, 2024
    Copy the full SHA
    1e30d72 View commit details

Commits on Jan 4, 2025

  1. Copy the full SHA
    4b792aa View commit details
Showing with 5,941 additions and 2,716 deletions.
  1. +0 −9 .github/getversion.cpp
  2. +29 −61 .github/workflows/build.yml
  3. +0 −3 .github/workflows/build_check.yml
  4. +0 −86 .github/workflows/deploy_experimental_release.yml
  5. +151 −0 .github/workflows/deploy_release.yml
  6. +0 −85 .github/workflows/deploy_stable_release.yml
  7. +74 −0 .github/workflows/determine_release_version.yml
  8. +1 −1 .github/workflows/generate_pot.yml
  9. +34 −21 BUILD.md
  10. +26 −29 CMakeLists.txt
  11. BIN bin/resources/ar/‏‏cemu.mo
  12. BIN bin/resources/de/cemu.mo
  13. BIN bin/resources/fr/cemu.mo
  14. BIN bin/resources/hu/cemu.mo
  15. BIN bin/resources/ko/cemu.mo
  16. BIN bin/resources/ru/cemu.mo
  17. BIN bin/resources/sv/cemu.mo
  18. BIN bin/resources/zh/cemu.mo
  19. +20 −0 cmake/Findbluez.cmake
  20. +9 −3 dependencies/ih264d/CMakeLists.txt
  21. +0 −1 dist/linux/appimage.sh
  22. +10 −4 src/CMakeLists.txt
  23. +19 −12 src/Cafe/CMakeLists.txt
  24. +24 −23 src/Cafe/CafeSystem.cpp
  25. +3 −4 src/Cafe/CafeSystem.h
  26. +268 −111 src/Cafe/Filesystem/FST/FST.cpp
  27. +33 −5 src/Cafe/Filesystem/FST/FST.h
  28. +1 −1 src/Cafe/GameProfile/GameProfile.cpp
  29. +26 −18 src/Cafe/GraphicPack/GraphicPack2.cpp
  30. +29 −1 src/Cafe/HW/Espresso/Debugger/Debugger.cpp
  31. +1 −0 src/Cafe/HW/Espresso/Debugger/Debugger.h
  32. +1 −1 src/Cafe/HW/Latte/Core/Latte.h
  33. +15 −0 src/Cafe/HW/Latte/Core/LatteCommandProcessor.cpp
  34. +74 −40 src/Cafe/HW/Latte/Core/LatteIndices.cpp
  35. +1 −1 src/Cafe/HW/Latte/Core/LatteIndices.h
  36. +6 −0 src/Cafe/HW/Latte/Core/LatteOverlay.cpp
  37. +1 −2 src/Cafe/HW/Latte/Core/LattePerformanceMonitor.cpp
  38. +7 −0 src/Cafe/HW/Latte/Core/LattePerformanceMonitor.h
  39. +20 −37 src/Cafe/HW/Latte/Core/LatteRenderTarget.cpp
  40. +5 −7 src/Cafe/HW/Latte/Core/LatteShader.cpp
  41. +124 −3 src/Cafe/HW/Latte/Core/LatteShaderCache.cpp
  42. +1 −0 src/Cafe/HW/Latte/Core/LatteThread.cpp
  43. +2 −0 src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompiler.cpp
  44. +2 −0 src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerAnalyzer.cpp
  45. +12 −8 src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerEmitGLSL.cpp
  46. +2 −0 src/Cafe/HW/Latte/LegacyShaderDecompiler/LatteDecompilerInstructions.h
  47. +7 −4 src/Cafe/HW/Latte/Renderer/OpenGL/OpenGLRenderer.cpp
  48. +11 −6 src/Cafe/HW/Latte/Renderer/OpenGL/OpenGLRenderer.h
  49. +9 −2 src/Cafe/HW/Latte/Renderer/Renderer.h
  50. +94 −131 src/Cafe/HW/Latte/Renderer/RendererOuputShader.cpp
  51. +13 −10 src/Cafe/HW/Latte/Renderer/RendererOuputShader.h
  52. +3 −3 src/Cafe/HW/Latte/Renderer/RendererShader.cpp
  53. +10 −0 src/Cafe/HW/Latte/Renderer/Vulkan/LatteTextureViewVk.cpp
  54. +3 −0 src/Cafe/HW/Latte/Renderer/Vulkan/RendererShaderVk.cpp
  55. +34 −2 src/Cafe/HW/Latte/Renderer/Vulkan/SwapchainInfoVk.cpp
  56. +9 −1 src/Cafe/HW/Latte/Renderer/Vulkan/SwapchainInfoVk.h
  57. +8 −1 src/Cafe/HW/Latte/Renderer/Vulkan/TextureReadbackVk.cpp
  58. +39 −9 src/Cafe/HW/Latte/Renderer/Vulkan/VKRBase.h
  59. +157 −53 src/Cafe/HW/Latte/Renderer/Vulkan/VKRMemoryManager.cpp
  60. +139 −32 src/Cafe/HW/Latte/Renderer/Vulkan/VKRMemoryManager.h
  61. +6 −0 src/Cafe/HW/Latte/Renderer/Vulkan/VulkanAPI.h
  62. +290 −38 src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp
  63. +14 −7 src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.h
  64. +95 −69 src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRendererCore.cpp
  65. +29 −1 src/Cafe/HW/Latte/Renderer/Vulkan/VulkanSurfaceCopy.cpp
  66. +4 −0 src/Cafe/IOSU/legacy/iosu_boss.cpp
  67. +45 −8 src/Cafe/IOSU/legacy/iosu_fpd.cpp
  68. +2 −0 src/Cafe/IOSU/legacy/iosu_fpd.h
  69. +1 −1 src/Cafe/OS/RPL/rpl_structs.h
  70. +1 −1 src/Cafe/OS/libs/camera/camera.cpp
  71. +13 −1 src/Cafe/OS/libs/coreinit/coreinit_GHS.cpp
  72. +4 −0 src/Cafe/OS/libs/coreinit/coreinit_GHS.h
  73. +1 −1 src/Cafe/OS/libs/coreinit/coreinit_Spinlock.cpp
  74. +4 −4 src/Cafe/OS/libs/coreinit/coreinit_Thread.cpp
  75. +1 −1 src/Cafe/OS/libs/coreinit/coreinit_Thread.h
  76. +6 −1 src/Cafe/OS/libs/coreinit/coreinit_Time.h
  77. +271 −144 src/Cafe/OS/libs/erreula/erreula.cpp
  78. +6 −0 src/Cafe/OS/libs/gx2/GX2_Resource.cpp
  79. +1 −1 src/Cafe/OS/libs/gx2/GX2_Shader.cpp
  80. +33 −0 src/Cafe/OS/libs/nn_fp/nn_fp.cpp
  81. +59 −41 src/Cafe/OS/libs/nn_nfp/nn_nfp.cpp
  82. +2 −2 src/Cafe/OS/libs/nn_olv/nn_olv_OfflineDB.cpp
  83. +0 −23 src/Cafe/OS/libs/nsyshid/AttachDefaultBackends.cpp
  84. +19 −19 src/Cafe/OS/libs/nsyshid/Backend.h
  85. +9 −0 src/Cafe/OS/libs/nsyshid/BackendEmulated.cpp
  86. +120 −72 src/Cafe/OS/libs/nsyshid/BackendLibusb.cpp
  87. +15 −10 src/Cafe/OS/libs/nsyshid/BackendLibusb.h
  88. +0 −444 src/Cafe/OS/libs/nsyshid/BackendWindowsHID.cpp
  89. +0 −66 src/Cafe/OS/libs/nsyshid/BackendWindowsHID.h
  90. +1,170 −0 src/Cafe/OS/libs/nsyshid/Dimensions.cpp
  91. +112 −0 src/Cafe/OS/libs/nsyshid/Dimensions.h
  92. +10 −7 src/Cafe/OS/libs/nsyshid/Infinity.cpp
  93. +6 −2 src/Cafe/OS/libs/nsyshid/Infinity.h
  94. +14 −7 src/Cafe/OS/libs/nsyshid/Skylander.cpp
  95. +6 −2 src/Cafe/OS/libs/nsyshid/Skylander.h
  96. +189 −85 src/Cafe/OS/libs/nsyshid/nsyshid.cpp
  97. +11 −8 src/Cafe/OS/libs/nsysnet/nsysnet.cpp
  98. +1 −1 src/Cafe/OS/libs/ntag/ntag.cpp
  99. +2 −2 src/Cafe/OS/libs/proc_ui/proc_ui.cpp
  100. +16 −71 src/Cafe/OS/libs/snd_core/ax_out.cpp
  101. +4 −0 src/Cemu/Logging/CemuLogging.h
  102. +24 −1 src/Cemu/nex/nexFriends.cpp
  103. +6 −1 src/Cemu/nex/nexFriends.h
  104. +103 −63 src/Common/MemPtr.h
  105. +49 −20 src/Common/precompiled.h
  106. +6 −23 src/Common/version.h
  107. +9 −3 src/asm/CMakeLists.txt
  108. +1 −1 src/audio/CubebAPI.cpp
  109. +1 −1 src/audio/DirectSoundAPI.cpp
  110. +42 −0 src/audio/IAudioAPI.cpp
  111. +7 −2 src/audio/IAudioAPI.h
  112. +11 −6 src/audio/XAudio27API.cpp
  113. +2 −0 src/audio/XAudio27API.h
  114. +9 −4 src/audio/XAudio2API.cpp
  115. +2 −0 src/audio/XAudio2API.h
  116. +8 −2 src/config/ActiveSettings.cpp
  117. +6 −0 src/config/CemuConfig.cpp
  118. +31 −15 src/config/CemuConfig.h
  119. +7 −3 src/config/LaunchSettings.cpp
  120. +6 −2 src/gui/CMakeLists.txt
  121. +29 −7 src/gui/CemuApp.cpp
  122. +3 −1 src/gui/CemuUpdateWindow.cpp
  123. +1 −1 src/gui/DownloadGraphicPacksWindow.cpp
  124. +356 −42 src/gui/EmulatedUSBDevices/EmulatedUSBDeviceFrame.cpp
  125. +44 −4 src/gui/EmulatedUSBDevices/EmulatedUSBDeviceFrame.h
  126. +55 −54 src/gui/GeneralSettings2.cpp
  127. +2 −1 src/gui/GeneralSettings2.h
  128. +7 −9 src/gui/MainWindow.cpp
  129. +0 −236 src/gui/PairingDialog.cpp
  130. +1 −1 src/gui/TitleManager.cpp
  131. +4 −7 src/gui/components/wxGameList.cpp
  132. +9 −2 src/gui/debugger/DebuggerWindow2.cpp
  133. +2 −0 src/gui/debugger/DebuggerWindow2.h
  134. +68 −18 src/gui/debugger/DisasmCtrl.cpp
  135. +13 −0 src/gui/debugger/DisasmCtrl.h
  136. +1 −1 src/gui/helpers/wxHelpers.h
  137. +33 −10 src/gui/input/InputAPIAddWindow.cpp
  138. +9 −0 src/gui/input/InputAPIAddWindow.h
  139. +9 −0 src/gui/input/InputSettings2.cpp
  140. +300 −0 src/gui/input/PairingDialog.cpp
  141. +1 −1 src/gui/{ → input}/PairingDialog.h
  142. +23 −1 src/gui/input/panels/VPADInputPanel.cpp
  143. +3 −0 src/gui/input/panels/VPADInputPanel.h
  144. +0 −12 src/gui/input/panels/WiimoteInputPanel.cpp
  145. +9 −0 src/imgui/imgui_impl_vulkan.cpp
  146. +10 −0 src/input/CMakeLists.txt
  147. +1 −3 src/input/api/DSU/DSUControllerProvider.cpp
  148. +1 −1 src/input/api/DSU/DSUControllerProvider.h
  149. +80 −42 src/input/api/Wiimote/WiimoteControllerProvider.cpp
  150. +4 −2 src/input/api/Wiimote/WiimoteControllerProvider.h
  151. +1 −2 src/input/api/Wiimote/WiimoteDevice.h
  152. +5 −2 src/input/api/Wiimote/hidapi/HidapiWiimote.cpp
  153. +1 −3 src/input/api/Wiimote/hidapi/HidapiWiimote.h
  154. +148 −0 src/input/api/Wiimote/l2cap/L2CapWiimote.cpp
  155. +22 −0 src/input/api/Wiimote/l2cap/L2CapWiimote.h
  156. +1 −1 src/input/emulated/EmulatedController.h
  157. +12 −1 src/input/emulated/VPADController.cpp
  158. +6 −0 src/input/emulated/VPADController.h
  159. +3 −3 src/resource/cemu.rc
  160. +2 −1 src/util/CMakeLists.txt
  161. +89 −81 src/util/ChunkedHeap/ChunkedHeap.h
  162. 0 src/util/ThreadPool/ThreadPool.cpp
  163. +51 −0 src/util/bootSound/BootSoundReader.cpp
  164. +20 −0 src/util/bootSound/BootSoundReader.h
  165. +1 −1 src/util/containers/robin_hood.h
  166. +10 −45 src/util/crypto/crc32.cpp
  167. +2 −2 src/util/crypto/crc32.h
9 changes: 0 additions & 9 deletions .github/getversion.cpp

This file was deleted.

90 changes: 29 additions & 61 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -3,10 +3,10 @@ name: Build Cemu
on:
workflow_call:
inputs:
deploymode:
next_version_major:
required: false
type: string
experimentalversion:
next_version_minor:
required: false
type: string

@@ -24,30 +24,22 @@ jobs:
submodules: "recursive"
fetch-depth: 0

- name: Setup release mode parameters (for deploy)
if: ${{ inputs.deploymode == 'release' }}
- name: Setup release mode parameters
run: |
echo "BUILD_MODE=release" >> $GITHUB_ENV
echo "BUILD_FLAGS=" >> $GITHUB_ENV
echo "Build mode is release"
- name: Setup debug mode parameters (for continous build)
if: ${{ inputs.deploymode != 'release' }}
- name: Setup build flags for version
if: ${{ inputs.next_version_major != '' }}
run: |
echo "BUILD_MODE=debug" >> $GITHUB_ENV
echo "BUILD_FLAGS=" >> $GITHUB_ENV
echo "Build mode is debug"
- name: Setup version for experimental
if: ${{ inputs.experimentalversion != '' }}
run: |
echo "[INFO] Experimental version ${{ inputs.experimentalversion }}"
echo "BUILD_FLAGS=${{ env.BUILD_FLAGS }} -DEXPERIMENTAL_VERSION=${{ inputs.experimentalversion }}" >> $GITHUB_ENV
echo "[INFO] Version ${{ inputs.next_version_major }}.${{ inputs.next_version_minor }}"
echo "BUILD_FLAGS=${{ env.BUILD_FLAGS }} -DEMULATOR_VERSION_MAJOR=${{ inputs.next_version_major }} -DEMULATOR_VERSION_MINOR=${{ inputs.next_version_minor }}" >> $GITHUB_ENV
- name: "Install system dependencies"
run: |
sudo apt update -qq
sudo apt install -y clang-15 cmake freeglut3-dev libgcrypt20-dev libglm-dev libgtk-3-dev libpulse-dev libsecret-1-dev libsystemd-dev libudev-dev nasm ninja-build
sudo apt install -y clang-15 cmake freeglut3-dev libgcrypt20-dev libglm-dev libgtk-3-dev libpulse-dev libsecret-1-dev libsystemd-dev libudev-dev nasm ninja-build libbluetooth-dev
- name: "Setup cmake"
uses: jwlawson/actions-setup-cmake@v2
@@ -81,12 +73,10 @@ jobs:
cmake --build build
- name: Prepare artifact
if: ${{ inputs.deploymode == 'release' }}
run: mv bin/Cemu_release bin/Cemu

- name: Upload artifact
uses: actions/upload-artifact@v4
if: ${{ inputs.deploymode == 'release' }}
with:
name: cemu-bin-linux-x64
path: ./bin/Cemu
@@ -106,7 +96,7 @@ jobs:
- name: "Install system dependencies"
run: |
sudo apt update -qq
sudo apt install -y clang-15 cmake freeglut3-dev libgcrypt20-dev libglm-dev libgtk-3-dev libpulse-dev libsecret-1-dev libsystemd-dev nasm ninja-build appstream
sudo apt install -y clang-15 cmake freeglut3-dev libgcrypt20-dev libglm-dev libgtk-3-dev libpulse-dev libsecret-1-dev libsystemd-dev nasm ninja-build appstream libbluetooth-dev
- name: "Build AppImage"
run: |
@@ -128,24 +118,17 @@ jobs:
with:
submodules: "recursive"

- name: Setup release mode parameters (for deploy)
if: ${{ inputs.deploymode == 'release' }}
- name: Setup release mode parameters
run: |
echo "BUILD_MODE=release" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
echo "BUILD_FLAGS=" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
echo "Build mode is release"
- name: Setup debug mode parameters (for continous build)
if: ${{ inputs.deploymode != 'release' }}
run: |
echo "BUILD_MODE=debug" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
echo "BUILD_FLAGS=" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
echo "Build mode is debug"
- name: Setup version for experimental
if: ${{ inputs.experimentalversion != '' }}
- name: Setup build flags for version
if: ${{ inputs.next_version_major != '' }}
run: |
echo "[INFO] Experimental version ${{ inputs.experimentalversion }}"
echo "BUILD_FLAGS=${{ env.BUILD_FLAGS }} -DEXPERIMENTAL_VERSION=${{ inputs.experimentalversion }}" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
echo "[INFO] Version ${{ inputs.next_version_major }}.${{ inputs.next_version_minor }}"
echo "BUILD_FLAGS=${{ env.BUILD_FLAGS }} -DEMULATOR_VERSION_MAJOR=${{ inputs.next_version_major }} -DEMULATOR_VERSION_MINOR=${{ inputs.next_version_minor }}" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- name: "Setup cmake"
uses: jwlawson/actions-setup-cmake@v2
@@ -184,57 +167,45 @@ jobs:
cmake --build . --config ${{ env.BUILD_MODE }}
- name: Prepare artifact
if: ${{ inputs.deploymode == 'release' }}
run: Rename-Item bin/Cemu_release.exe Cemu.exe

- name: Upload artifact
uses: actions/upload-artifact@v4
if: ${{ inputs.deploymode == 'release' }}
with:
name: cemu-bin-windows-x64
path: ./bin/Cemu.exe

build-macos:
runs-on: macos-12
runs-on: macos-14
steps:
- name: "Checkout repo"
uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Setup release mode parameters (for deploy)
if: ${{ inputs.deploymode == 'release' }}
- name: Setup release mode parameters
run: |
echo "BUILD_MODE=release" >> $GITHUB_ENV
echo "BUILD_FLAGS=" >> $GITHUB_ENV
echo "Build mode is release"
- name: Setup debug mode parameters (for continous build)
if: ${{ inputs.deploymode != 'release' }}
run: |
echo "BUILD_MODE=debug" >> $GITHUB_ENV
echo "BUILD_FLAGS=" >> $GITHUB_ENV
echo "Build mode is debug"
- name: Setup version for experimental
if: ${{ inputs.experimentalversion != '' }}
- name: Setup build flags for version
if: ${{ inputs.next_version_major != '' }}
run: |
echo "[INFO] Experimental version ${{ inputs.experimentalversion }}"
echo "BUILD_FLAGS=${{ env.BUILD_FLAGS }} -DEXPERIMENTAL_VERSION=${{ inputs.experimentalversion }}" >> $GITHUB_ENV
echo "[INFO] Version ${{ inputs.next_version_major }}.${{ inputs.next_version_minor }}"
echo "BUILD_FLAGS=${{ env.BUILD_FLAGS }} -DEMULATOR_VERSION_MAJOR=${{ inputs.next_version_major }} -DEMULATOR_VERSION_MINOR=${{ inputs.next_version_minor }}" >> $GITHUB_ENV
- name: "Install system dependencies"
run: |
brew update
brew install llvm@15 ninja nasm automake libtool
brew install cmake ninja
brew install ninja nasm automake libtool
- name: "Build and install molten-vk"
- name: "Install molten-vk"
run: |
git clone https://github.com/KhronosGroup/MoltenVK.git
cd MoltenVK
git checkout bf097edc74ec3b6dfafdcd5a38d3ce14b11952d6
./fetchDependencies --macos
make macos
make install
curl -L -O https://github.com/KhronosGroup/MoltenVK/releases/download/v1.2.9/MoltenVK-macos.tar
tar xf MoltenVK-macos.tar
sudo mkdir -p /usr/local/lib
sudo cp MoltenVK/MoltenVK/dynamic/dylib/macOS/libMoltenVK.dylib /usr/local/lib
- name: "Setup cmake"
uses: jwlawson/actions-setup-cmake@v2
@@ -265,17 +236,15 @@ jobs:
cd build
cmake .. ${{ env.BUILD_FLAGS }} \
-DCMAKE_BUILD_TYPE=${{ env.BUILD_MODE }} \
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
-DMACOS_BUNDLE=ON \
-DCMAKE_C_COMPILER=/usr/local/opt/llvm@15/bin/clang \
-DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@15/bin/clang++ \
-G Ninja
- name: "Build Cemu"
run: |
cmake --build build
- name: Prepare artifact
if: ${{ inputs.deploymode == 'release' }}
run: |
mkdir bin/Cemu_app
mv bin/Cemu_release.app bin/Cemu_app/Cemu.app
@@ -289,7 +258,6 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
if: ${{ inputs.deploymode == 'release' }}
with:
name: cemu-bin-macos-x64
path: ./bin/Cemu.dmg
3 changes: 0 additions & 3 deletions .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,3 @@ on:
jobs:
build:
uses: ./.github/workflows/build.yml
with:
deploymode: release
experimentalversion: 999999
86 changes: 0 additions & 86 deletions .github/workflows/deploy_experimental_release.yml

This file was deleted.

Loading