Skip to content

Merge branch 'master' of https://github.com/mikeoliphant/StompboxUI #147

Merge branch 'master' of https://github.com/mikeoliphant/StompboxUI

Merge branch 'master' of https://github.com/mikeoliphant/StompboxUI #147

Workflow file for this run

name: Build
on:
[workflow_dispatch, push, pull_request]
jobs:
build-windows:
name: Build Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure stompbox
working-directory: ${{github.workspace}}/Dependencies/stompbox/build
run: |
cmake.exe -G "Visual Studio 17 2022" -A x64 ..
- name: Setup MSBuild and add to PATH
uses: microsoft/[email protected]
- name: Restore NuGet Packages
run:
dotnet restore
- name: Run Image Processor
working-directory: ${{github.workspace}}
run: |
msbuild .\StompboxUI.sln /t:StompboxImageProcessor /p:Configuration="Release"
cd StompboxImageProcessor\bin\Release\net8.0
.\StompboxImageProcessor.exe
- name: Run MSBuild for Plugin
working-directory: ${{github.workspace}}
run: msbuild .\StompboxUI.sln /t:StompboxPlugin /p:Configuration=Release
- name: Create Plugin Artifact
uses: actions/upload-artifact@v4
with:
name: StompboxVST3Plugin
path: ${{github.workspace}}\StompboxPlugin\bin\Release\net8.0-windows
- name: Run MSBuild for Windows Remote
working-directory: ${{github.workspace}}
run: msbuild .\StompboxUI.sln /t:StompboxRemote /p:Configuration=Release
- name: Create Windows Remote Artifact
uses: actions/upload-artifact@v4
with:
name: StompboxRemote
path: ${{github.workspace}}\StompboxRemote\bin\Release\net8.0-windows
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- name: run MSBuild for Android Remote
run: |
echo -n ${{ secrets.KEYSTORE }} | base64 --ignore-garbage --decode > ${{github.workspace}}\android.keystore
msbuild .\StompboxAndroid\StompboxAndroid.csproj /p:Configuration=RELEASE /p:AndroidKeyStore=true /p:AndroidSigningKeyAlias=stompboxkeystore /p:AndroidSigningKeyStore="${{github.workspace}}\android.keystore" /p:AndroidSigningKeyPass="${{ secrets.KEYSTORE_PASS }}" /p:AndroidSigningStorePass="${{ secrets.KEYSTORE_PASS }}"
- name: Create Android Remote Artifact
uses: actions/upload-artifact@v4
with:
name: AndroidRemote
path: ${{github.workspace}}\StompboxAndroid\bin\Release\net8.0-android\StompboxAndroid.StompboxAndroid-Signed.apk