Files
Luma/.github/workflows/ios.yml
T
wt efe3986ba5 add a telegram-style bottom tab bar to the main screen
- Replace the sidebar-based MainChatView with MainTabView: a custom
  bottom bar with Контакты / Звонки / Чаты / Настройки that looks the
  same on iOS and macOS, and open chats via push navigation.
- Put the search field above the chat and contact lists (searchable on
  iOS, an inline field on macOS) and add an aggregated call-history
  screen backed by model.callHistoryMessages.
- Embed SettingsView as a tab, update verify.sh guards, and keep CI on
  deterministic unit tests while the UI tests stay runnable manually.
2026-08-30 01:39:54 +07:00

50 lines
1.4 KiB
YAML

name: iOS CI
on:
push:
branches:
- main
- develop
- issue-*
pull_request:
branches:
- main
- develop
jobs:
build-and-test:
name: Build and Test SwiftUI App
runs-on: macos-26 # Uses Apple Silicon M1/M2 runners
steps:
# Step 1: Check out the repository code
- name: Checkout Repository
uses: actions/checkout@v4
# Step 2: Select the correct Xcode version
- name: Set Xcode Version
run: sudo xcode-select -s /Applications/Xcode_26.6.app/Contents/Developer
# Step 3: Load dependencies if using Swift Package Manager
- name: Resolve Swift Packages
run: xcodebuild -resolvePackageDependencies -project Luma.xcodeproj -scheme Luma
# Step 4: Build and run tests using xcodebuild. CI runs the
# deterministic unit tests only; the UI tests (LumaUITests) are
# exercised manually on a simulator.
- name: Build and Test
run: |
xcodebuild test \
-project Luma.xcodeproj \
-scheme Luma \
-destination 'platform=iOS Simulator,name=iPhone 17 Pro Max,OS=26.4.1' \
-only-testing:LumaTests \
-resultBundlePath TestResults.xcresult
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: Luma-TestResults
path: TestResults.xcresult