Windows shell validation #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Windows shell validation | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/windows-shell.yml" | |
| - "Package.swift" | |
| - "Package.resolved" | |
| - "MailroomKit/**" | |
| - "GraphcodeKit/**" | |
| - "graphcode-cli/**" | |
| - "graphcoded/**" | |
| - "windows-tests/**" | |
| - "graphcode-windows/**" | |
| - "Tools/windows/bootstrap.ps1" | |
| - "Tools/windows/windows-shell.ps1" | |
| - "Tools/windows/uia-live-gate.ps1" | |
| - "Tools/windows/validate.ps1" | |
| - "Tools/windows/Tests/WindowsShell.Tests.ps1" | |
| - "Tools/windows/Tests/TrayDaemon.Tests.ps1" | |
| - "Tools/windows/Tests/TrayLive.Tests.ps1" | |
| - "Tools/windows/Tests/ValidationRunner.Tests.ps1" | |
| - "Tools/windows/package.ps1" | |
| - "Tools/windows/PACKAGING.md" | |
| - "Tools/windows/Tests/Packaging.Tests.ps1" | |
| - "Tools/windows/Tests/Packaging.RealLifecycle.Tests.ps1" | |
| - "graphcode-windows/package-metadata.json" | |
| - "investigation/windows-implementation-plan.md" | |
| permissions: | |
| contents: read | |
| jobs: | |
| windows-shell: | |
| 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 shell contracts and pinned-provider smoke | |
| shell: pwsh | |
| run: ./Tools/windows/validate.ps1 -Task windows-shell | |
| - name: Validate release packaging | |
| shell: pwsh | |
| run: ./Tools/windows/validate.ps1 -Task packaging |