-
Notifications
You must be signed in to change notification settings - Fork 1
69 lines (55 loc) · 2.4 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
61
62
63
64
65
66
67
68
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"
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 Artifact
uses: actions/upload-artifact@v4
with:
name: StompboxVST3Plugin
path: ${{github.workspace}}\StompboxPlugin\bin\Release\net6.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