Skip to content

Commit 47eee80

Browse files
committed
GitHub CI: Add Windows x86 build
1 parent 03b264c commit 47eee80

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,28 @@ jobs:
1919
with:
2020
name: Linux
2121
path: build/*.zip
22-
windows:
23-
name: Windows
22+
windows-x86:
23+
name: Windows (x86)
24+
runs-on: windows-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: msys2/setup-msys2@v2
28+
with:
29+
release: false
30+
msystem: mingw32
31+
install: git make nasm mingw-w64-i686-gcc zip
32+
- name: Compile
33+
shell: msys2 {0}
34+
run: |
35+
make release -j $NUMBER_OF_PROCESSORS
36+
env:
37+
ARCHIVE: 1
38+
- uses: actions/upload-artifact@v4
39+
with:
40+
name: Windows-x86
41+
path: build/*.zip
42+
windows-x86_64:
43+
name: Windows (x86_64)
2444
runs-on: windows-latest
2545
steps:
2646
- uses: actions/checkout@v4
@@ -37,7 +57,7 @@ jobs:
3757
ARCHIVE: 1
3858
- uses: actions/upload-artifact@v4
3959
with:
40-
name: Windows
60+
name: Windows-x86_64
4161
path: build/*.zip
4262
macos:
4363
name: macOS

0 commit comments

Comments
 (0)