modify ci runtime

pull/3154/head
ruki 10 months ago
parent d3de649a8f
commit 724b6f8a5d
  1. 6
      .github/workflows/windows.yml

@ -13,7 +13,7 @@ jobs:
os: [windows-2019, windows-2022]
kind: [static, shared]
arch: [x64, x86, arm64]
vs_runtime: [MT, MD]
runtimes: [MT, MD]
runs-on: ${{ matrix.os }}
@ -36,8 +36,8 @@ jobs:
- name: Tests
run: |
if ("${{ matrix.os }}" -eq "windows-2019") {
xmake l ./scripts/test.lua -vD -a ${{ matrix.arch }} -k ${{ matrix.kind }} --vs_runtime=${{ matrix.vs_runtime }} --vs_sdkver=10.0.19041.0 --linkjobs=2
xmake l ./scripts/test.lua -vD -a ${{ matrix.arch }} -k ${{ matrix.kind }} --runtimes=${{ matrix.runtimes }} --vs_sdkver=10.0.19041.0 --linkjobs=2
} else {
xmake l ./scripts/test.lua -vD -a ${{ matrix.arch }} -k ${{ matrix.kind }} --vs_runtime=${{ matrix.vs_runtime }} --linkjobs=2
xmake l ./scripts/test.lua -vD -a ${{ matrix.arch }} -k ${{ matrix.kind }} --runtimes=${{ matrix.runtimes }} --linkjobs=2
}

Loading…
Cancel
Save