Skip to content

Simplified COMImport base class, removing members which are now unnee… #151

Simplified COMImport base class, removing members which are now unnee…

Simplified COMImport base class, removing members which are now unnee… #151

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