Skip to content

Commit

Permalink
Update windows-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tkralphs authored Oct 4, 2024
1 parent a5f753c commit 6a99f53
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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[@]}"
Expand Down

0 comments on commit 6a99f53

Please sign in to comment.