mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
41 lines
758 B
YAML
41 lines
758 B
YAML
name: CI (macOS)
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.github/**'
|
|
- '3rdparty/**'
|
|
- 'scripts/**'
|
|
- 'src/**'
|
|
- 'COPYING'
|
|
- 'makefile'
|
|
pull_request:
|
|
paths:
|
|
- '.github/**'
|
|
- '3rdparty/**'
|
|
- 'scripts/**'
|
|
- 'src/**'
|
|
- 'COPYING'
|
|
- 'makefile'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-macos:
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- 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@master
|
|
with:
|
|
name: mame-macos-${{ github.sha }}
|
|
path: mame
|