name: CI on: push: branches: - master - swift - 'feat/**' - 'feature/**' pull_request: branches: - master workflow_dispatch: jobs: build-and-deploy: runs-on: macos env: DEVELOPER_DIR: /Applications/Xcode-26.3.app/Contents/Developer steps: - name: Checkout uses: actions/checkout@v4 - name: Generate Xcode project run: xcodegen generate - name: Build (simulator, compile check) run: | SIM_ID=$(xcrun simctl list devices available -j | python3 -c " import json,sys for rt,devs in json.load(sys.stdin)['devices'].items(): if 'iOS' in rt: for d in devs: if 'iPhone' in d['name'] and d['isAvailable']: print(d['udid']); sys.exit() " 2>/dev/null) echo "Using simulator: $SIM_ID" xcodebuild build \ -project Marks.xcodeproj \ -scheme Marks \ -destination "platform=iOS Simulator,id=$SIM_ID" \ -configuration Debug \ CODE_SIGNING_ALLOWED=NO \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO \ DEVELOPMENT_TEAM="" - name: Build IPA and deploy to OTA server run: ./scripts/ipa-server/build-and-deploy.sh continue-on-error: true