From db22613ab06514a3c9cb137027f152662a1c0185 Mon Sep 17 00:00:00 2001 From: jinrui Date: Fri, 24 Nov 2023 16:17:43 +0800 Subject: [PATCH] chore: canary release add windows and enable windows ci on main branch (#4772) * chore: canary release add windows platform * chore: enable windows test ci on main branch --- .github/workflows/ci.yml | 17 ++++++++++------- .github/workflows/release-canary.yml | 2 ++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b56b0da1723..d3a98b19dc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,13 +43,16 @@ jobs: runner: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS }} test-diff: true - # test-windows: - # name: Test Windows - # uses: ./.github/workflows/reusable-build.yml - # with: - # target: x86_64-pc-windows-msvc - # profile: "debug" - # test-diff: true + test-windows: + name: Test Windows + needs: [get-runner-labels] + if: github.ref_name == 'main' + uses: ./.github/workflows/reusable-build.yml + with: + target: x86_64-pc-windows-msvc + profile: "debug" + runner: ${{ needs.get-runner-labels.outputs.WINDOWS_RUNNER_LABELS }} + test-diff: true test-mac: name: Test Mac diff --git a/.github/workflows/release-canary.yml b/.github/workflows/release-canary.yml index 34dfebfc443..b50d34b2635 100644 --- a/.github/workflows/release-canary.yml +++ b/.github/workflows/release-canary.yml @@ -25,6 +25,8 @@ jobs: runner: ${{ needs.get-runner-labels.outputs.MACOS_RUNNER_LABELS }} - target: x86_64-unknown-linux-gnu # For Cloud IDE runner: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS }} + - target: x86_64-pc-windows-msvc + runner: ${{ needs.get-runner-labels.outputs.WINDOWS_RUNNER_LABELS }} uses: ./.github/workflows/reusable-build.yml with: ref: refs/pull/${{ github.event.issue.number }}/head