Files
SpaghettiKart/.github/workflows/macos-compile-debug.yml
T
Thomas Rohloff 425d6cdffb Add debug workflows
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
2025-07-19 13:01:27 +02:00

36 lines
1.0 KiB
YAML

name: MacOS Validation
on:
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
submodules: recursive
- name: Install dependencies
run: brew install ninja cmake
- name: Install vcpkg
uses: lukka/run-vcpkg@v11.5
with:
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
- name: Build
run: |
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build-cmake -j --config Debug
- name: Create Package
run: |
mkdir spaghetti-release
mv build-cmake/Spaghettify spaghetti-release/
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
name: spaghetti-mac-universal
path: spaghetti-release
retention-days: 1