Skip to content

Bump Tuist to 4.206.0 (#237) #808

Bump Tuist to 4.206.0 (#237)

Bump Tuist to 4.206.0 (#237) #808

name: Compatibility tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
compatibility_tests_macos:
name: Execute compatibility tests
permissions:
contents: read
id-token: write
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:
OPENATTRIBUTEGRAPH_WERROR: 1
OPENATTRIBUTEGRAPH_COMPATIBILITY_TEST: 1
OPENATTRIBUTEGRAPH_USE_LOCAL_DEPS: 1
OPENATTRIBUTEGRAPH_TARGET_RELEASE: 2024
DARWINPRIVATEFRAMEWORKS_TARGET_RELEASE: 2024
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Xcode
uses: OpenSwiftUIProject/setup-xcode@v2
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Set up mise
uses: jdx/mise-action@v2
with:
install: false
cache: false
- name: Set up Tuist cache
run: |
source Scripts/Tuist/common.sh
tuist_ci_setup
shell: bash
- name: Set up build environment
run: Scripts/CI/darwin_setup_build.sh
shell: bash
- name: Run tests against Apple's AttributeGraph on macOS via SwiftPM
run: |
swift test \
--build-path .build-compatibility-test-debug
- name: Run tests against Apple's AttributeGraph on macOS via Xcode
run: |
source Scripts/Tuist/common.sh
tuist_xcodebuild \
"${RUNNER_TEMP:-/tmp}/openattributegraph-compatibility-macos-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT:-0}.xcresult" \
test \
-workspace .swiftpm/xcode/package.xcworkspace \
-scheme OpenAttributeGraph-Package \
-sdk macosx \
-destination "platform=macOS" \
-skipPackagePluginValidation \
-skipMacroValidation