Skip to content

Commit

Permalink
Added Carthage installation CI step.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Nov 12, 2023
1 parent b44e1a4 commit 74b5c1d
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/integration-test-iOS16_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,13 @@ jobs:
export PACKAGE_BRANCH_NAME=$GITHUB_HEAD_REF
export PACKAGE_REVISION=$GITHUB_SHA
swift test --package-path Examples/SPM -v
- name: Carthage - Installation Test
working-directory: ./Examples/AblyCarthage
run: |
echo 'Clearing carthage cache...'
rm -rf ~/Library/Caches/org.carthage.CarthageKit
echo 'Installing cathage dependencies...'
carthage update --use-xcframeworks --platform iOS --no-use-binaries
echo 'Building AblyCarthage example...'
xcodebuild build -scheme "AblyCarthage" -destination "platform=iOS Simulator,name=iPhone 14" -configuration "Debug"
10 changes: 10 additions & 0 deletions .github/workflows/integration-test-iOS17_0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,13 @@ jobs:
export PACKAGE_BRANCH_NAME=$GITHUB_HEAD_REF
export PACKAGE_REVISION=$GITHUB_SHA
swift test --package-path Examples/SPM -v
- name: Carthage - Installation Test
working-directory: ./Examples/AblyCarthage
run: |
echo 'Clearing carthage cache...'
rm -rf ~/Library/Caches/org.carthage.CarthageKit
echo 'Installing cathage dependencies...'
carthage update --use-xcframeworks --platform iOS --no-use-binaries
echo 'Building AblyCarthage example...'
xcodebuild build -scheme "AblyCarthage" -destination "platform=iOS Simulator,name=iPhone 15" -configuration "Debug"
10 changes: 10 additions & 0 deletions .github/workflows/integration-test-macOS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,13 @@ jobs:
export PACKAGE_BRANCH_NAME=$GITHUB_HEAD_REF
export PACKAGE_REVISION=$GITHUB_SHA
swift test --package-path Examples/SPM -v
- name: Carthage - Installation Test
working-directory: ./Examples/AblyCarthage
run: |
echo 'Clearing carthage cache...'
rm -rf ~/Library/Caches/org.carthage.CarthageKit
echo 'Installing cathage dependencies...'
carthage update --use-xcframeworks --platform iOS --no-use-binaries
echo 'Building AblyCarthage example...'
xcodebuild build -scheme "AblyCarthage" -destination "platform=iOS Simulator,name=iPhone 14" -configuration "Debug"
10 changes: 10 additions & 0 deletions .github/workflows/integration-test-tvOS16_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,13 @@ jobs:
export PACKAGE_BRANCH_NAME=$GITHUB_HEAD_REF
export PACKAGE_REVISION=$GITHUB_SHA
swift test --package-path Examples/SPM -v
- name: Carthage - Installation Test
working-directory: ./Examples/AblyCarthage
run: |
echo 'Clearing carthage cache...'
rm -rf ~/Library/Caches/org.carthage.CarthageKit
echo 'Installing cathage dependencies...'
carthage update --use-xcframeworks --platform iOS --no-use-binaries
echo 'Building AblyCarthage example...'
xcodebuild build -scheme "AblyCarthage" -destination "platform=iOS Simulator,name=iPhone 14" -configuration "Debug"

0 comments on commit 74b5c1d

Please sign in to comment.