diff --git a/.github/workflows/xcode.yml b/.github/workflows/xcode.yml new file mode 100644 index 0000000..8b850a6 --- /dev/null +++ b/.github/workflows/xcode.yml @@ -0,0 +1,21 @@ +name: Xcode - Build and Analyze + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + name: Build and analyse default scheme using xcodebuild command + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + env: + scheme: ${{ 'default' }} + run: | + xcodebuild archive