Skip to content

chore(ci): app ci

chore(ci): app ci #401

Workflow file for this run

name: App
on: push
jobs:
ci:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
device: [14, 15]
iOS: [18]
name: App CI 🚀 (iPhone ${{ matrix.device }}, iOS ${{ matrix.iOS }} )
steps:
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: 5.10
- uses: actions/checkout@v4
- name: Setup Xcode
run: |
cd ./apps/mobile
xcodebuild -downloadAllPlatforms
- name: Build
run: |
cd ./apps/mobile
xcodebuild build -scheme metro-now -project metro-now.xcodeproj -destination 'platform=iOS Simulator,name=iPhone ${{ matrix.device }},OS=${{ matrix.iOS }}' | xcpretty && exit ${PIPESTATUS[0]}
- name: Test
run: |
cd ./apps/mobile
xcodebuild test -scheme metro-now -project metro-now.xcodeproj -destination 'platform=iOS Simulator,name=iPhone ${{ matrix.device }},OS=${{ matrix.iOS }}' | xcpretty && exit ${PIPESTATUS[0]}