New working clones #25281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 sdl2 | |
- name: Build | |
env: | |
USE_LIBSDL: 1 | |
TOOLS: 1 | |
run: make -j2 | |
- name: Validate | |
run: ./mame -validate | |
- uses: actions/upload-artifact@main | |
with: | |
name: mame-macos-${{ github.sha }} | |
path: | | |
mame | |
chdman | |
unidasm | |
if-no-files-found: error |