mirror of
https://github.com/acamarata/curtain.git
synced 2026-06-30 18:54:25 +00:00
The macos-14 runner's Swift 5.10 rejects region-isolation patterns (weak-self captures in MainActor Tasks) that the codebase relies on; move CI to macos-15 and run the test suite alongside the release build.
16 lines
407 B
YAML
16 lines
407 B
YAML
name: build
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
jobs:
|
|
build:
|
|
# Needs a Swift 6 toolchain: the codebase relies on region-based isolation
|
|
# (weak-self captures inside @MainActor Tasks) that Swift 5.10 rejects.
|
|
runs-on: macos-15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build (release)
|
|
run: swift build -c release
|
|
- name: Test
|
|
run: swift test
|