-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (48 loc) · 1.8 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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 for Plugin
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\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 Archive
uses: actions/upload-artifact@v1
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: msbuild .\StompboxAndroid\StompboxAndroid.csproj /t:PackageForAndroid /p:Configuration=Debug