Skip to content

Utilize ProjectInfo::projectName #99

Utilize ProjectInfo::projectName

Utilize ProjectInfo::projectName #99

Workflow file for this run

name: build.yml
on: [push, pull_request]
env:
plugin: StftPitchShiftPlugin
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup (MacOS)
if: matrix.os == 'macos-latest'
run: ./scripts/prebuild_macos.sh
- name: Setup (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: ./scripts/prebuild_ubuntu.sh
- name: Setup (Windows)
if: matrix.os == 'windows-latest'
run: .\scripts\prebuild_windows.bat
shell: cmd
- name: Build (MacOS)
if: matrix.os == 'macos-latest'
run: ./scripts/build_macos.sh
- name: Build (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: ./scripts/build_ubuntu.sh
- name: Build (Windows)
if: matrix.os == 'windows-latest'
run: .\scripts\build_windows.bat
shell: cmd
- name: Test (MacOS)
if: matrix.os == 'macos-latest'
run: ./scripts/postbuild_macos.sh
- name: Test (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: ./scripts/postbuild_ubuntu.sh
- name: Test (Windows)
if: matrix.os == 'windows-latest'
run: .\scripts\postbuild_windows.bat
shell: cmd
- name: Archive build artefacts
if: github.event_name == 'push'
uses: actions/upload-artifact@master
with:
name: ${{env.plugin}}-${{matrix.os}}
path: ./build/${{env.plugin}}_artefacts/Release