ci: embed full bilingual release notes in the Sparkle appcast #50
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build (Debug) | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # The macos-14 image still defaults to Xcode 15.4, whose stricter Swift | |
| # concurrency checking rejects code this project compiles cleanly under | |
| # Xcode 16 (the declared toolchain — see AGENT.md). Select the newest | |
| # installed Xcode 16 so CI matches local builds. | |
| - name: Select Xcode 16 | |
| run: | | |
| XCODE=$(ls -d /Applications/Xcode_16*.app 2>/dev/null | sort -V | tail -n1) | |
| if [ -z "$XCODE" ]; then | |
| XCODE=$(ls -d /Applications/Xcode_*.app | sort -V | tail -n1) | |
| fi | |
| echo "Selecting $XCODE" | |
| sudo xcode-select -s "$XCODE/Contents/Developer" | |
| - name: Show Xcode version | |
| run: xcodebuild -version | |
| - name: Build | |
| run: | | |
| xcodebuild \ | |
| -project ClipTrace.xcodeproj \ | |
| -scheme ClipTrace \ | |
| -configuration Debug \ | |
| -destination 'platform=macOS' \ | |
| -derivedDataPath build \ | |
| -skipMacroValidation \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| build |