Skip to content

Commit a4072e2

Browse files
authored
Refactor CI workflow for iOS build and tests
1 parent da7df29 commit a4072e2

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,18 @@ jobs:
3333
- name: Typecheck files
3434
run: yarn tsc
3535

36-
- name: Build iOS
36+
- name: Install CocoaPods
37+
working-directory: apps/example/ios
38+
run: pod install
39+
40+
- name: Start Package Manager
41+
working-directory: apps/example
42+
run: E2E=true yarn start &
43+
44+
- name: Build example for iOS
3745
working-directory: apps/example
38-
run: |
39-
cd ios
40-
rm -rf Pods Podfile.lock ~/Library/Developer/Xcode/DerivedData/*
41-
pod repo update
42-
pod install --verbose
43-
cd ..
44-
RCT_NO_LAUNCH_PACKAGER=1 \
45-
xcodebuild -workspace ios/Example.xcworkspace \
46-
-scheme Example \
47-
-configuration Debug \
48-
-sdk iphonesimulator \
49-
-destination "platform=iOS Simulator,name=iPhone 16 Pro" \
50-
-UseModernBuildSystem=YES \
51-
build
46+
run: yarn ios --simulator 'iPhone 16 Pro'
47+
48+
- name: Run e2e tests
49+
working-directory: packages/webgpu
50+
run: CI=true E2E=true yarn test

0 commit comments

Comments
 (0)