From 5bc13d60eabc594eec9f1c5b9b4209e42646e2f6 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 13 May 2026 17:05:40 -0700 Subject: [PATCH] Add GitHub Actions CI workflow for build + test Co-authored-by: danieldaquino <24692108+danieldaquino@users.noreply.github.com> --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..f976be9a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + build-and-test: + runs-on: macos-26 + permissions: + contents: read + env: + SCHEME: damus + DESTINATION: platform=iOS Simulator,name=iPhone 17 + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Build + run: xcodebuild -scheme "${{ env.SCHEME }}" -destination "${{ env.DESTINATION }}" -quiet build + + - name: Test + run: xcodebuild -scheme "${{ env.SCHEME }}" -destination "${{ env.DESTINATION }}" -only-testing:damusTests test