Skip to content

Merge fix/368-followup: a sequential origin publishes the item axis (… #1034

Merge fix/368-followup: a sequential origin publishes the item axis (…

Merge fix/368-followup: a sequential origin publishes the item axis (… #1034

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-macos:
name: swift test (macOS)
runs-on: macos-15
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Show toolchain
run: |
swift --version
xcodebuild -version
- name: swift build
run: swift build
# A test process that dies mid-run reads as exit 1 with no ✘, no backtrace and no swift-testing
# summary: `swift test` collapses every abnormal child exit to a plain 1, and a signal takes the
# buffered tail of the event stream with it. What was in flight is whatever the log still lists
# as started but never finished. Three such deaths were an unguarded socket write raising
# SIGPIPE from a test origin server (see the SO_NOSIGPIPE note in Issue177IngestPrefetchTests),
# so nothing hangs and no time limit would have caught it.
- name: swift test
run: swift test
build-tvos:
name: xcodebuild (tvOS Simulator)
runs-on: macos-15
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build for tvOS Simulator
run: |
xcodebuild build \
-scheme AetherEngine \
-destination 'generic/platform=tvOS Simulator' \
-derivedDataPath .build/xcode-tvos \
CODE_SIGNING_ALLOWED=NO
build-ios:
name: xcodebuild (iOS Simulator)
runs-on: macos-15
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build for iOS Simulator
run: |
xcodebuild build \
-scheme AetherEngine \
-destination 'generic/platform=iOS Simulator' \
-derivedDataPath .build/xcode-ios \
CODE_SIGNING_ALLOWED=NO
# #344: the package has declared visionOS since 6.0.0 and nothing here compiled for it, so an
# availability list that named tvOS/iOS/macOS and then fell through to `*` broke the visionOS
# build silently. `*` resolves to the declared visionOS floor (1.0), so any API newer than that
# is a compile error on visionOS and on no other platform. Nobody here owns a Vision Pro, which
# makes this job the only place the platform is exercised at all.
build-visionos:
name: xcodebuild (visionOS Simulator)
runs-on: macos-15
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build for visionOS Simulator
run: |
xcodebuild build \
-scheme AetherEngine \
-destination 'generic/platform=visionOS Simulator' \
-derivedDataPath .build/xcode-visionos \
CODE_SIGNING_ALLOWED=NO