diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..0ac9f6fe --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,30 @@ +name: Check + +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + check: + runs-on: macos-15 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: "16.4" + - name: XcodeGen + uses: xavierLowmiller/xcodegen-action@1.2.4 + with: + spec: project.yml + version: 2.43.0 + - name: Run iOS tests + run: | + set -o pipefail && xcodebuild test \ + -scheme bitchatTests_iOS \ + -destination "platform=iOS Simulator,name=iPhone 16" | xcpretty