From 454c0356a9c65ed5eaf7be3a3163dff9477d6f1b Mon Sep 17 00:00:00 2001 From: negativeExponent <54053706+negativeExponent@users.noreply.github.com> Date: Thu, 12 Sep 2024 07:11:09 +0800 Subject: [PATCH] Add windows CI (#192) --- .github/workflows/ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b45f16..10b9cbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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