name: CI on: push: branches: [ main ] pull_request: branches: [ main ] concurrency: group: ci-${{ github.ref }} cancel-in-progress: true jobs: build: name: Build · ${{ matrix.os }} · ${{ matrix.configuration }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [ macos-14, macos-15 ] configuration: [ Debug, Release ] steps: - uses: actions/checkout@v4 - name: Xcode version run: xcodebuild -version - name: Install XcodeGen run: brew install xcodegen - name: Generate Xcode project run: xcodegen generate - name: Build (${{ matrix.configuration }}, iOS Simulator) run: | set -o pipefail xcodebuild \ -project Jarvis.xcodeproj \ -scheme Jarvis \ -configuration ${{ matrix.configuration }} \ -sdk iphonesimulator \ -destination 'generic/platform=iOS Simulator' \ -derivedDataPath build \ CODE_SIGNING_ALLOWED=NO \ CODE_SIGNING_REQUIRED=NO \ build