feat: Snip mode — region screenshot to clipboard #95
Workflow file for this run
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: | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Select Xcode | |
| run: | | |
| ls /Applications/ | grep Xcode | |
| sudo xcode-select -p | |
| xcodebuild -version | |
| - name: Install xcodegen | |
| run: brew install xcodegen | |
| - name: Generate Xcode project | |
| working-directory: src | |
| run: xcodegen generate | |
| - name: Build | |
| run: | | |
| xcodebuild -project src/ZoomacIt.xcodeproj \ | |
| -scheme ZoomacIt \ | |
| -configuration Debug \ | |
| -derivedDataPath build \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| build | |
| - name: Test | |
| run: | | |
| xcodebuild -project src/ZoomacIt.xcodeproj \ | |
| -scheme ZoomacItTests \ | |
| -configuration Debug \ | |
| -derivedDataPath build \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| test |