Setup release github action #13
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: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Build & Test | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Select Xcode | |
| run: sudo xcode-select -s /Applications/Xcode_26.2.app/Contents/Developer | |
| - name: Resolve package dependencies | |
| run: xcodebuild -resolvePackageDependencies -project PandaBeFree.xcodeproj -scheme PandaBeFree | |
| - name: Build and test | |
| run: | | |
| xcodebuild test \ | |
| -project PandaBeFree.xcodeproj \ | |
| -scheme PandaBeFree \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16' \ | |
| -resultBundlePath TestResults.xcresult \ | |
| CODE_SIGNING_ALLOWED=NO |