Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: cd example/android && ./gradlew clean assembleDebug
ios:
runs-on: macos-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
Expand All @@ -47,6 +48,18 @@ jobs:
run: cd example && pnpm build:ios
- name: Pod install
run: cd example && pod install --project-directory=ios
# Compiles the library's native code too; `pod install` alone doesn't.
- name: Build iOS Example App and Library
run: |
xcodebuild build \
-workspace example/ios/SegmentedControlExample.xcworkspace \
-scheme SegmentedControlExample \
-configuration Debug \
-sdk iphonesimulator \
-destination 'generic/platform=iOS Simulator' \
-derivedDataPath example/ios/build/DerivedData \
-quiet \
ARCHS=arm64 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO
web:
runs-on: ubuntu-latest
steps:
Expand Down
Loading