Generate a zip file and build using CI

This commit is contained in:
Jason Morley
2026-01-19 17:25:04 -10:00
parent 72c83534b8
commit 10ef265d87
2 changed files with 34 additions and 4 deletions

28
.github/workflows/build.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: build
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
workflow_dispatch:
jobs:
macos-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Package the ROMs
run: scripts/build.sh
- name: Archive the binary
uses: actions/upload-artifact@v4
with:
path: build/mame-roms.zip
if-no-files-found: error