mame/.github/workflows/ci-macos.yml
Vas Crabb 33f5ab983d -Cleaned up CI targets:
* Restricted Linux CI build to only run on changes to code,
  translations, software lists, and build scripts.
* Restricted Windows/macOS CO to only run on changes to code and build
  scripts.  They provide nothing over Linux for the other stuff.
* Added plugin properties and controller file validation to the "hash"
  workflow.
* Added a workflow for building documentation, so pull requests that
  affect documentation will at least get a basic check in advance.

-plugins/autofire: Bumped version as configuration format has changed.
2021-10-22 02:46:52 +11:00

38 lines
727 B
YAML

name: CI (macOS)
on:
push:
paths:
- '.github/**'
- '3rdparty/**'
- 'scripts/**'
- 'src/**'
- 'COPYING'
- 'makefile'
pull_request:
paths:
- '.github/**'
- '3rdparty/**'
- 'scripts/**'
- 'src/**'
- 'COPYING'
- 'makefile'
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