Skip to content

Upgrade JUCE version, push version number for Mac Universal Build #5

Upgrade JUCE version, push version number for Mac Universal Build

Upgrade JUCE version, push version number for Mac Universal Build #5

Workflow file for this run

name: Build
on: [push]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ${{ matrix.os.runner }}
strategy:
matrix:
os:
- runner: windows-latest
name: windows
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE --verbose
- name: Zip
working-directory: ${{runner.workspace}}/build/ParticlesPlugin_artefacts/Release/VST3
shell: bash
run: tar -czvf particles-${{ matrix.os.name }}-vst3.tar.gz Particles.vst3
- name: Upload
uses: actions/[email protected]
with:
name: particles-${{ matrix.os.name }}
path: ${{runner.workspace}}/build/ParticlesPlugin_artefacts/Release/VST3/particles-${{ matrix.os.name }}-vst3.tar.gz