From 31c613f59d8830d70d4e168e3079ca6713356f9d Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Sat, 8 Mar 2025 21:16:35 +1000 Subject: [PATCH] more windows attempts --- .github/workflows/build-coop.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-coop.yaml b/.github/workflows/build-coop.yaml index f71e3f94c..3f39a0dd4 100644 --- a/.github/workflows/build-coop.yaml +++ b/.github/workflows/build-coop.yaml @@ -32,24 +32,22 @@ jobs: build-windows: if: ${{ contains(github.event.head_commit.message, '[build]')}} runs-on: windows-latest + defaults: + run: + shell: msys2 {0} steps: - name: Checkout repository uses: actions/checkout@v4 - name: Install dependencies - run: | - choco install mingw - choco install git - choco install python - - - name: Set up MSYS2 - run: | - pacman -Syu --noconfirm - pacman -S unzip make git mingw-w64-i686-gcc mingw-w64-x86_64-gcc mingw-w64-i686-glew mingw-w64-x86_64-glew mingw-w64-i686-SDL2 mingw-w64-i686-SDL mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL python3 + uses: msys2/setup-msys2@v2 + with: + msystem: ucrt64 + update: true + pacboy: unzip:p make:p git:p mingw-w64-x86_64-gcc:p mingw-w64-x86_64-glew:p mingw-w64-x86_64-SDL2:p python3:p - name: Build the game - run: | - make -j$(nproc) + run: make -j$(nproc) - name: Upload artifact uses: actions/upload-artifact@v4