Skip to content

Make AnyClock a class. #138

Make AnyClock a class.

Make AnyClock a class. #138

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:
runs-on: macos-14
strategy:
matrix:
config: ['debug', 'release']
steps:
- uses: actions/checkout@v4
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Run ${{ matrix.config }} tests
run: CONFIG=${{ matrix.config }} make test-all
# - name: Build for library evolution
# run: CONFIG=${{ matrix.config }} make build-for-library-evolution
linux:
strategy:
matrix:
config: ['debug', 'release']
swift:
- '5.10'
name: Linux (Swift ${{ matrix.swift }})
runs-on: ubuntu-latest
container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v4
- name: Run tests
run: swift test -c ${{ matrix.config }}