Files
SpaghettiKart/.github/workflows/macos-compile.yml
T
TheOliveOli 9a9a18999d Build macOS release as Universal Binary (#267)
* Update CMakeLists.txt

* Edit output filename to reflect building as Universal binary
2025-06-21 17:37:31 -06:00

30 lines
853 B
YAML

name: MacOS Validation
on:
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: brew install sdl2 libpng glew ninja cmake libzip nlohmann-json tinyxml2 spdlog vorbis-tools
- name: Build
run: |
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release
cmake --build build-cmake -j
- name: Create Package
run: |
mkdir spaghetti-release
mv build-cmake/spaghetti spaghetti-release/
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
name: spaghetti-mac-universal
path: spaghetti-release
retention-days: 1