From c94b0b283c25c891832a6a74d15a11f80a8e1d28 Mon Sep 17 00:00:00 2001 From: Mauricio Martinez Date: Thu, 21 May 2026 15:55:18 -0300 Subject: [PATCH] Add GitHub Actions CI --- .github/workflows/ios-ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ios-ci.yml diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml new file mode 100644 index 0000000..182baa4 --- /dev/null +++ b/.github/workflows/ios-ci.yml @@ -0,0 +1,35 @@ +name: iOS CI + +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Select Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + + - name: Show Xcode version + run: xcodebuild -version + + - name: Install xcpretty + run: gem install xcpretty + + - name: Resolve packages + run: xcodebuild -resolvePackageDependencies + + - name: Run tests + run: | + xcodebuild test \ + -scheme TypedNetwork \ + -destination 'platform=iOS Simulator,name=iPhone 17' \ + | xcpretty