Skip to content

Commit 46d5c7f

Browse files
committed
feat: 32-bit builds on actions
1 parent 46692c8 commit 46d5c7f

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/build.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,32 @@ jobs:
6060
path: WiiLinkPatcher_Linux-ARM64_${{ github.sha }}.tar
6161
name: WiiLinkPatcher_Linux-ARM64_${{ github.sha }}
6262

63+
build-linux-arm32:
64+
65+
runs-on: ubuntu-24.04-arm
66+
67+
steps:
68+
- uses: actions/checkout@v4
69+
- name: Setup .NET
70+
uses: actions/setup-dotnet@v3
71+
with:
72+
dotnet-version: ${{ env.DOTNET_VERSION }}
73+
74+
- name: Build
75+
run: |
76+
cd WiiLink-Patcher-CLI
77+
dotnet publish -c Release -r "linux-arm" /p:AssemblyName="WiiLinkPatcher_Linux-ARM32_${{ github.sha }}"
78+
79+
- name: Tar Build
80+
run: |
81+
tar cvf WiiLinkPatcher_Linux-ARM32_${{ github.sha }}.tar --directory=WiiLink-Patcher-CLI/bin/Release/net9.0-windows10.0.22621.0/linux-arm/publish/ WiiLinkPatcher_Linux-ARM32_${{ github.sha }}
82+
83+
- name: Upload Build
84+
uses: actions/upload-artifact@v4
85+
with:
86+
path: WiiLinkPatcher_Linux-ARM32_${{ github.sha }}.tar
87+
name: WiiLinkPatcher_Linux-ARM32_${{ github.sha }}
88+
6389
build-windows-x64:
6490

6591
runs-on: ubuntu-latest
@@ -81,6 +107,28 @@ jobs:
81107
with:
82108
path: WiiLink-Patcher-CLI/bin/Release/net9.0-windows10.0.22621.0/win-x64/publish/WiiLinkPatcher_Windows-x64_${{ github.sha }}.exe
83109
name: WiiLinkPatcher_Windows-x64_${{ github.sha }}
110+
111+
build-windows-x86:
112+
113+
runs-on: ubuntu-latest
114+
115+
steps:
116+
- uses: actions/checkout@v4
117+
- name: Setup .NET
118+
uses: actions/setup-dotnet@v3
119+
with:
120+
dotnet-version: ${{ env.DOTNET_VERSION }}
121+
122+
- name: Build
123+
run: |
124+
cd WiiLink-Patcher-CLI
125+
dotnet publish -c Release -r "win-x86" /p:AssemblyName="WiiLinkPatcher_Windows-x86_${{ github.sha }}"
126+
127+
- name: Upload Build
128+
uses: actions/upload-artifact@v4
129+
with:
130+
path: WiiLink-Patcher-CLI/bin/Release/net9.0-windows10.0.22621.0/win-x86/publish/WiiLinkPatcher_Windows-x86_${{ github.sha }}.exe
131+
name: WiiLinkPatcher_Windows-x86_${{ github.sha }}
84132

85133
build-windows-arm64:
86134

0 commit comments

Comments
 (0)