Skip to content

Windows port validation #18

Windows port validation

Windows port validation #18

name: Windows port validation
on:
workflow_dispatch:
pull_request:
paths:
- ".github/workflows/windows-port-validation.yml"
- "Package.swift"
- "Package.resolved"
- "MailroomKit/**"
- "GraphcodeKit/**"
- "graphcode-cli/**"
- "graphcoded/**"
- "graphcode-windows/**"
- "windows-tests/**"
- "Tools/windows/**"
- "investigation/**"
permissions:
contents: read
jobs:
windows-spikes:
runs-on: windows-2022
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: compnerd/gha-setup-swift@397094e75494a93fa8d81db0268dbc8f5d6cf7c6 # v0.4.1
with:
swift-version: swift-6.3.3-release
swift-build: 6.3.3-RELEASE
cache: true
- name: Bootstrap exact Windows dependencies
shell: pwsh
run: ./Tools/windows/bootstrap.ps1 -ToolRoot .ci-tools -ProviderRoot .ci-providers
- name: Verify validation runner contract
shell: pwsh
run: ./Tools/windows/Tests/ValidationRunner.Tests.ps1
- name: Run Windows port validation
shell: pwsh
run: ./Tools/windows/validate.ps1 -Task all -SkipTrayLive -SkipWslRemoteE2E