Skip to content

feat(shims): expose blend mode types and aliases (#32) #112

feat(shims): expose blend mode types and aliases (#32)

feat(shims): expose blend mode types and aliases (#32) #112

name: Compatibility tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
compatibility_tests_macos:
name: Execute compatibility tests
strategy:
fail-fast: false
matrix:
include:
- os: macos-15
xcode-version: "26.6" # Swift 6.3.3
runs-on:
- ${{ matrix.os }}
- xcode-26.6
env:
OPENRENDERBOX_WERROR: 1
OPENRENDERBOX_RENDERBOX: 1
OPENRENDERBOX_COMPATIBILITY_TEST: 1
OPENRENDERBOX_USE_LOCAL_DEPS: 1
OPENRENDERBOX_TARGET_RELEASE: 2024
DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE: 2024
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Setup Xcode
uses: OpenSwiftUIProject/setup-xcode@v2
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Set up build environment
run: Scripts/CI/darwin_setup_build.sh
shell: bash
- name: Swift version
run: swift --version
- name: Run tests against Apple's RENDERBOX on macOS via SwiftPM
env:
OPENRENDERBOX_LIBRARY_EVOLUTION: 0
run: |
swift test \
--build-path .build-compatibility-test-debug
- name: Run tests against Apple's RENDERBOX on macOS via Xcode
run: |
xcodebuild test \
-scheme OpenRenderBox-Package \
-sdk macosx \
-destination "platform=macOS" \
-skipPackagePluginValidation \
-skipMacroValidation