Skip to content

Commit

Permalink
chore: canary release add windows and enable windows ci on main branch (
Browse files Browse the repository at this point in the history
#4772)

* chore: canary release add windows platform

* chore: enable windows test ci on main branch
  • Loading branch information
jerrykingxyz authored Nov 24, 2023
1 parent ea50644 commit db22613
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db22613

Please sign in to comment.