From 6a99f537c65cd7b53a630774f480e68eac0c1d7f Mon Sep 17 00:00:00 2001 From: Ted Ralphs Date: Fri, 4 Oct 2024 09:48:43 +0200 Subject: [PATCH] Update windows-ci.yml --- .github/workflows/windows-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index a1d41380e..8d5a65e2e 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -22,8 +22,10 @@ jobs: include: [ { os: windows-2019, arch: x86_64, msystem: mingw64, debug: true, suffix: "-dbg" }, { os: windows-2019, arch: x86_64, msystem: mingw64, debug: false, suffix: "" }, - { os: windows-2019, arch: msvc, msystem: mingw64, debug: false, suffix: "-md" }, - { os: windows-2022, arch: msvc, msystem: mingw64, debug: false, suffix: "-md" }, + { os: windows-2019, arch: msvc-mt, msystem: mingw64, debug: false, suffix: "-mt" }, + { os: windows-2022, arch: msvc-mt, msystem: mingw64, debug: false, suffix: "-mt" }, + { os: windows-2019, arch: msvc-md, msystem: mingw64, debug: false, suffix: "-md" }, + { os: windows-2022, arch: msvc-md, msystem: mingw64, debug: false, suffix: "-md" }, ] steps: - name: Checkout source @@ -61,7 +63,8 @@ jobs: ADD_BUILD_ARGS+=( --build=x86_64-w64-mingw32 --tests main --enable-relocatable ) ADD_BUILD_ARGS+=( --verbosity 2 ) [[ ${{ matrix.debug }} == "true" ]] && ADD_BUILD_ARGS+=( --enable-debug ) - [[ ${{ matrix.arch }} == "msvc" ]] && ADD_BUILD_ARGS+=( --enable-msvc ) + [[ ${{ matrix.arch }} == "msvc-mt" ]] && ADD_BUILD_ARGS+=( --enable-msvc=MT ) + [[ ${{ matrix.arch }} == "msvc-md" ]] && ADD_BUILD_ARGS+=( --enable-msvc=MD ) ./coinbrew/coinbrew fetch ${{ github.event.repository.name }} --skip-update "${ADD_ARGS[@]}" ./coinbrew/coinbrew build ${{ github.event.repository.name }} ${{ env.host_flag }} \ "${ADD_ARGS[@]}" "${ADD_BUILD_ARGS[@]}"