-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/no-connection-serial
- Loading branch information
Showing
28 changed files
with
366 additions
and
385 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Examples Test | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check: | ||
runs-on: macos-13 | ||
|
||
env: | ||
LC_CTYPE: en_US.UTF-8 | ||
LANG: en_US.UTF-8 | ||
ABLY_ENV: sandbox | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Select Xcode (15.1) | ||
run: | | ||
sudo xcode-select -s /Applications/Xcode_15.1.app | ||
echo "Selected Xcode version:" | ||
xcodebuild -version | ||
- name: Environment Info | ||
run: ./Scripts/log-environment-information.sh | ||
|
||
- name: Reset Simulators | ||
run: xcrun simctl erase all | ||
|
||
- name: Install Dependencies | ||
run: | | ||
make submodules | ||
bundle install | ||
make update_carthage_dependencies_ios | ||
- name: Run Examples Tests | ||
working-directory: ./Examples/Tests | ||
run: | | ||
pod repo update | ||
pod install | ||
bundle exec fastlane scan -s Tests --output-directory "fastlane/test_output/examples/test_iOS17_2" | ||
- name: Carthage Installation | ||
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 15" -configuration "Debug" | ||
- name: SPM Installation | ||
working-directory: ./ | ||
run: | | ||
echo 'Current Branch: ' $GITHUB_HEAD_REF | ||
echo 'Current Revision (SHA):' $GITHUB_SHA | ||
echo Current Path: $(pwd) | ||
export PACKAGE_URL=file://$(pwd) | ||
export PACKAGE_BRANCH_NAME=$GITHUB_HEAD_REF | ||
export PACKAGE_REVISION=$GITHUB_SHA | ||
swift test --package-path Examples/SPM -v | ||
- name: Build APNS Example | ||
working-directory: ./Examples/AblyPush | ||
run: | | ||
xcodebuild build -scheme "AblyPushExample" -destination "platform=iOS Simulator,name=iPhone 15" -configuration "Debug" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.