From 77a8d3535bab76ce760697ff7c397d3a6732aa1c Mon Sep 17 00:00:00 2001 From: Cray Elliott Date: Sat, 9 Nov 2024 14:26:47 -0800 Subject: [PATCH] add macOS github action and badge to README --- .github/workflows/build-macos.yml | 24 ++++++++++++++++++++++++ README.md | 1 + 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/build-macos.yml diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 0000000..ea20654 --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -0,0 +1,24 @@ +name: MacOS 15 + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: macos-15 + steps: + - name: Set up Homebrew + id: set-up-homebrew + uses: Homebrew/actions/setup-homebrew@master + - name: Install wine + run: brew install wine-stable + - name: Install deps + run: brew install portaudio + - uses: actions/checkout@v4 + with: + submodules: true + - name: Build + run: make diff --git a/README.md b/README.md index 0c50952..92da15c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ v68 === [![Linux Build](https://github.com/vampirefrog/v68/actions/workflows/build-linux.yml/badge.svg)](https://github.com/vampirefrog/v68/actions/workflows/build-linux.yml) +[![macOS Build](https://github.com/vampirefrog/v68/actions/workflows/build-macos.yml/badge.svg)](https://github.com/vampirefrog/v68/actions/workflows/build-macos.yml) A Human68k X68000 CUI emulator. Very similar to [run68](https://github.com/rururutan/run68), it is written from scratch and emulates, besides the OS calls and the CPU, the sound hardware.