name: CI (macOS) on: push: paths: - '.github/workflows/**' - '3rdparty/**' - 'scripts/**' - 'src/**' - 'COPYING' - 'makefile' pull_request: paths: - '.github/workflows/**' - '3rdparty/**' - 'scripts/**' - 'src/**' - 'COPYING' - 'makefile' permissions: contents: read jobs: build-macos: runs-on: macOS-latest steps: - uses: actions/checkout@main with: fetch-depth: 0 - name: Install dependencies run: brew install python3 sdl3 - name: Build env: USE_LIBSDL: 1 SOURCES: sinclair/sprinter.cpp,sinclair/evo/tsconf.cpp,sinclair/next/specnext.cpp,sinclair/evo/pentevo.cpp,sinclair/spectrum.cpp,sinclair/spec128.cpp,sinclair/specpls3.cpp,sinclair/scorpion.cpp TOOLS: 1 run: make -j2 - uses: actions/upload-artifact@main with: name: mame-macos-${{ github.sha }} path: | mame chdman unidasm if-no-files-found: error