Skip to content

Commit

Permalink
Merge pull request #1833 from ably/fix/1755-carthage-install-fix
Browse files Browse the repository at this point in the history
Carthage install fix
  • Loading branch information
maratal authored Nov 13, 2023
2 parents 9c4e7b3 + 9dba2a9 commit de748a4
Show file tree
Hide file tree
Showing 35 changed files with 776 additions and 25 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/carthage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Carthage Installation

on:
pull_request:
push:
branches:
- main

jobs:
check:
runs-on: macos-latest

env:
LC_CTYPE: en_US.UTF-8
LANG: en_US.UTF-8
ABLY_ENV: sandbox

steps:
- name: Check out SDK repo
uses: actions/checkout@v2

- name: Select Specific Xcode Version (14.2)
run: |
sudo xcode-select -s /Applications/Xcode_14.2.app
echo "Selected Xcode version:"
xcodebuild -version
- name: Log environment information
run: ./Scripts/log-environment-information.sh

- name: Reset Simulators
run: xcrun simctl erase all

- name: Carthage - Installation Test
working-directory: ./Examples/AblyCarthage
run: |
echo 'Installing Carthage 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"
Loading

0 comments on commit de748a4

Please sign in to comment.