Skip to content

Merge pull request #2 from rcarver/swift6 #3

Merge pull request #2 from rcarver/swift6

Merge pull request #2 from rcarver/swift6 #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
mac:
name: macOS
strategy:
matrix:
xcode: ["16.4"]
config: ["debug", "release"]
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run ${{ matrix.config }} tests
run: swift test -c ${{ matrix.config }}
linux:
name: Linux
strategy:
matrix:
swift:
- "6.2"
runs-on: ubuntu-latest
container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v4
- name: Build
run: swift test