Compare commits

...
10 Commits
Author SHA1 Message Date
alufolie91 8cf3165be0 Merge branch 'Saturn-Next' into mac-ci-test 2026-08-09 15:00:58 +02:00
alufolie91 b59cf405f9 Merge branch 'Saturn-Next' into mac-ci-test 2026-08-09 14:56:02 +02:00
alufolie91 02c928b198 test5 2026-05-30 07:17:06 +02:00
alufolie91 7cc8939ec5 DragNDrop 2026-05-30 07:15:16 +02:00
alufolie91 b0c28a5299 Revert "test4"
This reverts commit 8433d04a12.
2026-05-30 07:03:57 +02:00
alufolie91 4002000cd8 icon 2026-05-30 06:55:32 +02:00
alufolie91 8433d04a12 test4 2026-05-30 06:47:34 +02:00
alufolie91 04aa365858 test3 2026-05-30 06:31:09 +02:00
alufolie91 a1f141bef9 test2 2026-05-30 06:23:10 +02:00
alufolie91 fdf26f6d5e test 2026-05-30 06:22:23 +02:00
2 changed files with 63 additions and 1 deletions

No files matched your search

+62
View File
@@ -0,0 +1,62 @@
name: macOS
on:
push:
branches: [ "mac-ci-test"]
pull_request:
branches: [ "mac-ci-test"]
jobs:
build:
continue-on-error: true
strategy:
matrix:
arch:
- runner: macos-latest
name: aarch64
- runner: macos-15-intel
name: x86_64
name: ${{ matrix.arch.name }}
runs-on: ${{ matrix.arch.runner }}
steps:
- uses: actions/checkout@v6.0.1
- name: Install dependencies
run: brew install --formula sdl2 sdl2_mixer game-music-emu libopenmpt
- name: Download Kart assets
run: |
curl -L \
-o AssetsLinuxOnly.zip \
"https://github.com/STJr/Kart-Public/releases/download/v1.6/AssetsLinuxOnly.zip"
- name: Extract Kart assets
run: |
mkdir -p assets/installer
unzip -q AssetsLinuxOnly.zip -d assets/installer
- name: Configure CMake
run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
- name: Build SRB2Kart-Saturn
run: ninja -C build
#idk what im doing here tbh i pray this works
- name: Package DMG
run: |
cd build
cpack -G DragNDrop
#- name: Upload build artifact
# uses: actions/upload-artifact@v6.0.0
# with:
# name: srb2kartsaturn-macOS-${{ matrix.arch.name }}-${{ github.sha }}
# path: build/bin
- name: Upload DMG
uses: actions/upload-artifact@v6.0.0
with:
name: srb2kartsaturn-macOS-${{ matrix.arch.name }}-${{ github.sha }}
path: build/*.dmg
+1 -1
View File
@@ -29,7 +29,7 @@ if("${SRB2_CPACK_GENERATOR}" STREQUAL "")
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
set(SRB2_CPACK_GENERATOR "TGZ")
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
set(SRB2_CPACK_GENERATOR "TGZ")
set(SRB2_CPACK_GENERATOR "DragNDrop")
endif()
endif()