Skip to content

Match error type name to filename #637

Match error type name to filename

Match error type name to filename #637

Workflow file for this run

name: Build & Test
on:
push:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
build-spm:
name: Build & Test (SPM)
runs-on: windows-2022
timeout-minutes: 20
steps:
- name: Checkout Swift-WebBrowser
uses: actions/[email protected]
- 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
build-cmake:
name: Build (CMake)
runs-on: windows-2022
timeout-minutes: 20
steps:
- name: Checkout Swift-WebBrowser
uses: actions/[email protected]
- name: Setup Visual Studio Development Environment
uses: compnerd/gha-setup-vsdevenv@main
- name: Install Swift
# TODO: Use mainline version once linker issue is fixed.
uses: compnerd/gha-setup-swift@8f43ccc3e8bac89829862af09de9567c807c1c12
with:
branch: swift-5.8-release
tag: 5.8-RELEASE
- name: CMake Configure
shell: pwsh
run: cmake -S . -B build -G Ninja
- name: CMake Build
shell: pwsh
run: cmake --build .\build