Skip to content

Refactor for xplat building. (#140) #508

Refactor for xplat building. (#140)

Refactor for xplat building. (#140) #508

name: Build & Test
on:
push:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-2022
timeout-minutes: 20
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.8-release
tag: 5.8-RELEASE
- name: Build
run: swift build --verbose --build-tests
- name: Test
run: swift test --verbose --skip-build