Update build.yml #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
[workflow_dispatch, push, pull_request] | |
jobs: | |
build-windows: | |
name: Build Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/[email protected] | |
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" | |
StompboxImageProcessor\bin\Release\net8.0-windows\StompboxImageProcessor.exe | |
- name: Run MSBuild | |
working-directory: ${{github.workspace}} | |
run: msbuild .\StompboxUI.sln /t:StompboxPlugin /p:Configuration=Release | |
- name: Create Plugin Archive | |
uses: actions/upload-artifact@v1 | |
with: | |
name: StompboxVST3Plugin | |
path: ${{github.workspace}}\StompboxPlugin\bin\Release\net6.0-windows |