projects: Copy across corresponding lib & pdb files when copying dlls #68
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: Build Windows | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| defaults: | |
| run: # Use powershell because bash is not supported: https://github.com/compnerd/gha-setup-swift/issues/18#issuecomment-1705524890 | |
| shell: pwsh | |
| jobs: | |
| build: | |
| runs-on: windows-2019 # Windows SDK lower than 10.0.26100 is needed until https://github.com/swiftlang/swift/pull/79751 released! | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Setup VS Dev Environment | |
| uses: seanmiddleditch/gha-setup-vsdevenv@v5 | |
| - name: Setup | |
| uses: compnerd/[email protected] | |
| with: | |
| branch: swift-5.10-release | |
| tag: 5.10-RELEASE | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Swift version | |
| run: swift --version | |
| - name: Build | |
| run: | | |
| Set-StrictMode -Version Latest | |
| $ErrorActionPreference = "Stop" | |
| $PSNativeCommandUseErrorActionPreference = $true | |
| swift build --product swift-bundler |