From 2fa47d66f9364d93a79b0c858b237e52ce4cd982 Mon Sep 17 00:00:00 2001 From: molingyu Date: Sat, 7 Sep 2024 20:34:12 +0800 Subject: [PATCH] ci: update gh action window: msvc -> MinGW --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e8d0848..76d6df1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -99,13 +99,13 @@ jobs: - name: Code Gen run: python ${{github.workspace}}/gen/gen.py - - name: Setup MSVC dev command prompt - uses: TheMrMilchmann/setup-msvc-dev@v3 + - name: Set up MinGW + uses: egor-tensin/setup-mingw@v2 with: - arch: x64 + platform: x64 - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G "MinGW Makefiles" - name: Build working-directory: ${{github.workspace}}