summaryrefslogblamecommitdiffstatshomepage
path: root/.github/workflows/ci-macos.yml
blob: dfe53e3953795075ca645e82ffa6edaaaabfe516 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                     
                              










                                              
name: CI (macOS)

on: [push, pull_request]

jobs:
  build-macos:
    runs-on: macOS-latest
    steps:
      - uses: actions/checkout@master
      - name: Install dependencies
        run: 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