Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

swift-ios.yml

58 lines1.5 KB

1name: SwiftUI iOS
2​
3on:
4 pull_request:
5 paths:
6 - "apps/swift-ios/**"
7 - "packages/contracts/**"
8 - "scripts/generate-swift-wire-fixtures.ts"
9 - "scripts/package.json"
10 - ".github/workflows/swift-ios.yml"
11 - "package.json"
12 - "pnpm-lock.yaml"
13 - "pnpm-workspace.yaml"
14 push:
15 branches:
16 - main
17 paths:
18 - "apps/swift-ios/**"
19 - "packages/contracts/**"
20 - "scripts/generate-swift-wire-fixtures.ts"
21 - "scripts/package.json"
22 - ".github/workflows/swift-ios.yml"
23 - "package.json"
24 - "pnpm-lock.yaml"
25 - "pnpm-workspace.yaml"
26​
27concurrency:
28 group: swift-ios-${{ github.event.pull_request.number || github.sha }}
29 cancel-in-progress: ${{ github.event_name == 'pull_request' }}
30​
31jobs:
32 test:
33 name: Contract fixtures and native tests
34 runs-on: blacksmith-12vcpu-macos-26
35 timeout-minutes: 25
36 steps:
37 - name: Checkout
38 uses: actions/checkout@v6
39 with:
40 sparse-checkout: |
41 /*
42 !/.repos/
43 sparse-checkout-cone-mode: false
44​
45 - name: Setup Vite+
46 uses: voidzero-dev/setup-vp@v1
47 with:
48 node-version-file: package.json
49 cache: true
50 run-install: |
51 args:
52 - --filter=@t3tools/scripts...
53​
54 - name: Verify generated wire fixtures
55 run: node scripts/generate-swift-wire-fixtures.ts --check
56​
57 - name: Test SwiftUI client
58 run: apps/swift-ios/Scripts/ci-test.sh