mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
140cd5ee65
- Add explicit -destination flags to build.sh — newer Xcode versions no longer auto-select a build destination, causing "Found no destinations for the scheme" errors - Update CI matrix to Xcode 16.4 and 26.2 — Xcode 16.0-16.3 simulator runtimes are no longer installed on the macos-15 runner image - Add PRODUCT_BUNDLE_IDENTIFIER to ExternalTarget fixture — Xcode 26.x requires a bundle identifier for embedded frameworks Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
954 B
YAML
37 lines
954 B
YAML
name: CI
|
|
on:
|
|
push: {}
|
|
pull_request: {}
|
|
jobs:
|
|
run:
|
|
runs-on: macos-15
|
|
name: Xcode ${{ matrix.xcode }}
|
|
strategy:
|
|
matrix:
|
|
xcode: ["16.4", "26.2"]
|
|
env:
|
|
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Resolve
|
|
run: swift package resolve
|
|
- name: Build
|
|
run: swift build
|
|
- name: Test
|
|
run: set -o pipefail && swift test 2>&1 | xcpretty
|
|
- name: Gen fixtures
|
|
run: scripts/gen-fixtures.sh
|
|
- name: Check fixtures
|
|
run: scripts/diff-fixtures.sh
|
|
- name: Build fixtures
|
|
env:
|
|
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: scripts/build-fixtures.sh
|
|
run-linux:
|
|
runs-on: ubuntu-latest
|
|
name: Linux
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Build and run tests
|
|
run: swift test --enable-test-discovery
|