Update Compute binary to 0.3.0 (#229) #781
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.3" # Swift 6.2.4 | |
| runs-on: ${{ matrix.os }} | |
| 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 build environment | |
| run: Scripts/CI/darwin_setup_build.sh | |
| shell: bash | |
| - name: Run tests against Apple's AttributeGraph on macOS via SwiftPM | |
| run: | | |
| # Swift 6.2.4 crashes while indexing C++ interop test targets. | |
| swift test \ | |
| --disable-index-store \ | |
| --build-path .build-compatibility-test-debug | |
| - name: Run tests against Apple's AttributeGraph on macOS via Xcode | |
| run: | | |
| xcodebuild test \ | |
| -workspace .swiftpm/xcode/package.xcworkspace \ | |
| -scheme OpenAttributeGraph-Package \ | |
| -sdk macosx \ | |
| -destination "platform=macOS" \ | |
| -skipPackagePluginValidation \ | |
| -skipMacroValidation |