Skip to content

Add compatibility CI #143

Add compatibility CI

Add compatibility CI #143

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:
library:
name: macOS
strategy:
matrix:
xcode: ['15.1']
config: ['debug', 'release']
runs-on: macos-13
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 }}
- name: Run compatibility tests
run: make test-compatibility
if: ${{ matrix.config == 'debug' }}