Skip to content

Adding Windows CI

Adding Windows CI #152

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
library-swift-latest:
name: Library (swift-latest)
runs-on: macOS-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode 14.3
run: sudo xcode-select -s /Applications/Xcode_14.3.app
- name: Run tests
run: make test
- name: Build for library evolution
run: make build-for-library-evolution
library-swift-5-6:
name: Library (swift-5.6)
runs-on: macOS-12
steps:
- uses: actions/checkout@v3
- name: Select Xcode 13.4.1
run: sudo xcode-select -s /Applications/Xcode_13.4.1.app
- name: Run tests
run: make test
windows:
name: Windows
strategy:
matrix:
os: [windows-latest]
config: ['debug', 'release']
runs-on: ${{ matrix.os }}
steps:
- uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.8-release
tag: 5.8-RELEASE
- uses: actions/checkout@v3
- name: Run tests
run: swift test -c ${{ matrix.config }}