Skip to content

Commit

Permalink
Create ExampleCocoaPodsIntegration
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed Jan 3, 2025
1 parent 11ee061 commit ebc9043
Show file tree
Hide file tree
Showing 19 changed files with 867 additions and 39 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,23 @@ jobs:
- name: Build Project Integration
run: pushd Examples/ExampleMultiProjectIntegration; xcrun xcodebuild build -skipPackagePluginValidation -skipMacroValidation -scheme ExampleMultiProjectIntegration; popd

pod-project-integration:
name: Build CocoaPods Integration on Xcode 16
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.5'
bundler-cache: true
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_16.2.0.app/Contents/Developer
- name: Install Pod
run: bundle exec pod install --project-directory=Examples/ExampleCocoaPodsIntegration
- name: Build CocoaPods Integration
run: xcrun xcodebuild build -scheme ExampleCocoaPodsIntegration -configuration Debug -workspace Examples/ExampleCocoaPodsIntegration/ExampleCocoaPodsIntegration.xcworkspace -destination 'platform=iOS Simulator,OS=18.2,name=iPad (10th generation)' # Explicitly test the Debug build. Our pod lint jobs are already testing the Release build.

spm:
name: Build and Test on Xcode 16
runs-on: macos-15
Expand Down Expand Up @@ -129,7 +146,7 @@ jobs:
sudo xcodebuild -downloadPlatform visionOS
sudo xcodebuild -runFirstLaunch
- name: Lint Podspec
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=6.0 --allow-warnings --platforms=${{ matrix.platforms }} # We can stop allowing warnings once ZippyJSON creates a release that contains https://github.com/michaeleisel/ZippyJSON/pull/67
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=6.0 --platforms=${{ matrix.platforms }}

linux:
name: Build and Test on Linux
Expand Down
4 changes: 4 additions & 0 deletions Examples/ExampleCocoaPodsIntegration/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ExampleCocoaPodsIntegration/SafeDI.swift
ExampleCocoaPodsIntegration.xcodeproj/xcuserdata
ExampleCocoaPodsIntegration.xcworkspace/
Pods/
Loading

0 comments on commit ebc9043

Please sign in to comment.