Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial guess at macOS continuous integration via GitHub actions #14

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
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
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: [push]

jobs:
build:

runs-on: macOS-latest

steps:
- name: Get JUCE
run: git -C /Applications clone --depth=1 --branch 5.4.3 https://github.com/WeAreROLI/JUCE.git
# - name: Get Steinberg VST3 SDK
# run: mkdir -p ~/SDKs && wget -qO- https://www.steinberg.net/vst3sdk | bsdtar -xf- -C ~/SDKs
- uses: actions/checkout@v1
- name: Build AU
run: xcodebuild -scheme 'juicysfplugin - AU' -configuration 'Debug' -project Builds/MacOSX/juicysfplugin.xcodeproj -UseModernBuildSystem=NO GCC_PREPROCESSOR_DEFINITIONS='$GCC_PREPROCESSOR_DEFINITIONS JUCE_VST3_CAN_REPLACE_VST2=0'
- name: Build VST3
run: xcodebuild -scheme 'juicysfplugin - VST3' -configuration 'Debug' -project Builds/MacOSX/juicysfplugin.xcodeproj -UseModernBuildSystem=NO GCC_PREPROCESSOR_DEFINITIONS='$GCC_PREPROCESSOR_DEFINITIONS JUCE_VST3_CAN_REPLACE_VST2=0'
- name: Build Standalone Plugin
run: xcodebuild -scheme 'juicysfplugin - Standalone Plugin' -configuration 'Debug' -project Builds/MacOSX/juicysfplugin.xcodeproj -UseModernBuildSystem=NO GCC_PREPROCESSOR_DEFINITIONS='$GCC_PREPROCESSOR_DEFINITIONS JUCE_VST3_CAN_REPLACE_VST2=0'
- name: Archive
run: ./archive-for-distribution.sh "$GITHUB_SHA"
- uses: actions/upload-artifact@master
with:
name: my-artifact
path: build/juicysfplugin.$GITHUB_SHA.Release.tar.xz