Skip to content

swift-cmaf-kit 0.1.2 — Refinement Patch #6

swift-cmaf-kit 0.1.2 — Refinement Patch

swift-cmaf-kit 0.1.2 — Refinement Patch #6

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Copyright 2026 Atelier Socle SAS
# platform-builds.yml — xcodebuild on every Apple platform simulator.
#
# Builds the CMAFKit + CMAFKitDRM library schemes on every supported Apple
# platform using generic simulator destinations so the workflow is not
# coupled to specific named devices or OS versions. Per addendum F.1, the
# library schemes are `CMAFKit` and `CMAFKitDRM` (CamelCase); the
# executable scheme `CMAFKitCLI` is macOS-only and validated in ci.yml.
name: Platform Builds
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: platforms-${{ github.ref }}
cancel-in-progress: true
jobs:
apple-simulators:
name: "${{ matrix.platform }}"
runs-on: macos-26
strategy:
fail-fast: false
matrix:
include:
- platform: iOS
destination: "generic/platform=iOS Simulator"
- platform: tvOS
destination: "generic/platform=tvOS Simulator"
- platform: watchOS
destination: "generic/platform=watchOS Simulator"
- platform: visionOS
destination: "generic/platform=visionOS Simulator"
- platform: Mac Catalyst
destination: "platform=macOS,variant=Mac Catalyst"
steps:
- uses: actions/checkout@v5
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_26.4.app
- name: Swift version
run: swift --version
- name: Build CMAFKit for ${{ matrix.platform }}
run: |
xcodebuild build \
-scheme CMAFKit \
-destination "${{ matrix.destination }}" \
-skipPackagePluginValidation \
CODE_SIGNING_ALLOWED=NO
- name: Build CMAFKitDRM for ${{ matrix.platform }}
run: |
xcodebuild build \
-scheme CMAFKitDRM \
-destination "${{ matrix.destination }}" \
-skipPackagePluginValidation \
CODE_SIGNING_ALLOWED=NO