summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci-macos.yml
blob: 0337945a251e695f46ea995e0b058f70a39af6d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: CI (macOS)

on: [push, pull_request]

jobs:
  build-macos:
    runs-on: macOS-latest
    steps:
      - uses: actions/checkout@master
      - name: Install dependencies
        run: |
          brew update
          brew install sdl2
      - name: Build
        env:
          USE_LIBSDL: 1
          TOOLS: 1
        run: make -j2
      - name: Validate
        run: ./mame64 -validate
      - uses: actions/upload-artifact@master
        with:
          name: mame64-macos-${{ github.sha }}
          path: mame64