Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build-macOS.yml
Original file line number Diff line number Diff line change
@@ -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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samuello1228 samuello1228 Feb 11, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your reminder. But, I will keep them separate.

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 }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samuello1228 samuello1228 Feb 11, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is GH?
What is ${{ github.repository_owner }}?
What is ${{ env.short_sha }}?

What name do you suggest?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just named it GH for github... but the rest are variables

path: dist/osx/Spek.dmg