forked from mamedev/mame
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (44 loc) · 861 Bytes
/
ci-macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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