2020-10-21 13:42:17 +02:00
|
|
|
name: CI (macOS)
|
|
|
|
|
2021-10-21 17:46:52 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2023-01-27 22:00:27 +01:00
|
|
|
- '.github/workflows/**'
|
2021-10-21 17:46:52 +02:00
|
|
|
- '3rdparty/**'
|
|
|
|
- 'scripts/**'
|
|
|
|
- 'src/**'
|
|
|
|
- 'COPYING'
|
|
|
|
- 'makefile'
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2023-01-27 22:00:27 +01:00
|
|
|
- '.github/workflows/**'
|
2021-10-21 17:46:52 +02:00
|
|
|
- '3rdparty/**'
|
|
|
|
- 'scripts/**'
|
|
|
|
- 'src/**'
|
|
|
|
- 'COPYING'
|
|
|
|
- 'makefile'
|
2020-10-21 13:42:17 +02:00
|
|
|
|
2022-06-29 10:43:37 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-10-21 13:42:17 +02:00
|
|
|
jobs:
|
2022-10-21 05:22:19 +02:00
|
|
|
|
2020-10-21 13:42:17 +02:00
|
|
|
build-macos:
|
|
|
|
runs-on: macOS-latest
|
|
|
|
steps:
|
2022-10-21 05:22:19 +02:00
|
|
|
- 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
|
|
|
|
chdman
|
|
|
|
unidasm
|