Add windows CI (#192)

This commit is contained in:
negativeExponent authored and GitHub committed 2024-09-12 07:11:09 +08:00
1 parent 98034875f8
commit 454c0356a9
1 file changed
+42
+42
View File
@@ -14,3 +14,45 @@ jobs:
- uses: actions/checkout@v4
- name: build with musashi
run: make -j$(getconf _NPROCESSORS_ONLN) C68K=0
windows-c68k:
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
base-devel
gcc
git
make
zip
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-ntldd
mingw-w64-x86_64-zlib
mingw-w64-x86_64-pkg-config
- uses: actions/checkout@v4
- name: windows build with c68k
shell: msys2 {0}
run: make -j8 C68K=1
windows-musashi:
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
base-devel
gcc
git
make
zip
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-ntldd
mingw-w64-x86_64-zlib
mingw-w64-x86_64-pkg-config
- uses: actions/checkout@v4
- name: windows build with c68k
shell: msys2 {0}
run: make -j8 C68K=0