Merge cf9a668b3a70598383effd5946e60f09ea091d2c into b1600d9926fa434330171cbebb407d2d0ccdcf03

This commit is contained in:
samuello1228 2023-07-15 13:18:32 -07:00 committed by GitHub
commit 771a2f1d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

39
.github/workflows/build-macOS.yml vendored Normal file

@ -0,0 +1,39 @@
name: build on macOS
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
strategy:
matrix:
runner: [macos-11, macos-12]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: brew install automake coreutils ffmpeg wxwidgets
- name : symlink wxwin.m4
run: find /usr/local/Cellar/wxwidgets/ -name "wxwin.m4" -exec ln -s {} /usr/local/share/aclocal/wxwin.m4 \;
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck
- name: bundle
run: ./dist/osx/bundle.sh
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: binary-${{ matrix.runner }}
path: dist/osx/Spek.dmg