Support COM wrapping of Swift objects without an IUnknownProtocol implementation #250
Workflow file for this run
This file contains 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 & Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2022 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Visual Studio Development Environment | |
uses: compnerd/gha-setup-vsdevenv@main | |
- name: Install Swift | |
uses: compnerd/gha-setup-swift@main | |
with: | |
branch: swift-5.9.1-release | |
tag: 5.9.1-RELEASE | |
- name: Build code generator | |
working-directory: Generator | |
shell: pwsh | |
run: swift build --verbose --build-tests | |
- name: Test code generator | |
working-directory: Generator | |
shell: pwsh | |
run: swift test --verbose --skip-build | |
- name: Build support module | |
shell: pwsh | |
run: swift build --verbose --build-tests | |
- name: Test support module | |
shell: pwsh | |
run: swift test --verbose --skip-build | |
- name: Build Test WinRT Component | |
working-directory: InteropTests | |
shell: pwsh | |
run: '& .\BuildWinRTComponent.ps1' | |
- name: Build InteropTests | |
working-directory: InteropTests | |
shell: pwsh | |
run: swift build --verbose --build-tests | |
- name: Run InteropTests | |
working-directory: InteropTests | |
shell: pwsh | |
run: swift test --verbose --skip-build |