Skip to content

Commit 51d0d91

Browse files
committed
Add win32 build workflow
1 parent c1717e7 commit 51d0d91

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build-js:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v4
3535
- name: Setup cache
3636
id: cache-system-libraries
3737
uses: actions/cache@v4
@@ -58,3 +58,34 @@ jobs:
5858
*.wasm
5959
src/hspcmp/*.js
6060
src/hspcmp/*.wasm
61+
62+
build-win32:
63+
runs-on: windows-latest
64+
65+
steps:
66+
- uses: actions/checkout@v4
67+
68+
- name: Add MSBuild to PATH
69+
uses: microsoft/setup-msbuild@v2
70+
71+
- name: Build hsp3
72+
working-directory: src/hsp3
73+
run: |
74+
cmd /c vsbuild.bat
75+
76+
- name: Build hsp3dish
77+
working-directory: src/hsp3dish
78+
run: |
79+
cmd /c vsbuild.bat
80+
81+
- name: Build hspcmp
82+
working-directory: src/hspcmp
83+
run: |
84+
cmd /c vsbuild.bat
85+
86+
- name: Archive production artifacts
87+
uses: actions/upload-artifact@v4
88+
with:
89+
name: openhsp-win32
90+
path: |
91+
src/hsp3/Release/**/*

0 commit comments

Comments
 (0)