diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..52b4728 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: Build + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: macos-15 + steps: + - uses: actions/checkout@v4 + + - name: Select Xcode + run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer + + - name: Build (Mac Catalyst) + run: | + xcodebuild \ + -project HomeMCPBridge.xcodeproj \ + -scheme HomeMCPBridge \ + -destination 'platform=macOS,variant=Mac Catalyst' \ + -configuration Release \ + CODE_SIGN_IDENTITY=- \ + CODE_SIGNING_ALLOWED=NO \ + build