-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e970c6
commit a988b63
Showing
10 changed files
with
104 additions
and
152 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: "iOS SDK CI" | ||
|
||
on: | ||
pull_request: | ||
# push: # TODO: To be validated | ||
# branches-ignore: '*' | ||
# tags: | ||
# - '^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$' | ||
|
||
jobs: | ||
setup: | ||
name: "Setup" | ||
runs-on: macos-14 | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
- name: Install ruby and gem dependencies | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.0.7 | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
|
||
sdk-tests: | ||
name: "SDK Tests" | ||
runs-on: macos-14 | ||
needs: [setup] | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
- name: Bundle install | ||
run: bundle install | ||
- name: Run Tests | ||
run: bundle exec fastlane tests | ||
- name: Store Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test-results | ||
path: ./fastlane/test_output | ||
|
||
build-demo-swift: | ||
name: "Build Demo Swift" | ||
runs-on: macos-14 | ||
|
||
needs: [setup, sdk-tests] | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
- name: Bundle install | ||
run: bundle install | ||
- name: Build Demo Swift | ||
id: build-demo-swift | ||
run: bundle exec fastlane demo_swift | ||
# - name: Store Artifacts | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: demo-swift | ||
# path: | ||
|
||
build-demo-objc: | ||
name: "Build Demo Objective-C" | ||
runs-on: macos-14 | ||
env: | ||
FL_OUTPUT_DIR: output | ||
needs: [setup, sdk-tests] | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
- name: Bundle install | ||
run: bundle install | ||
- name: Build Demo Objective-C | ||
run: bundle exec fastlane demo_objc | ||
# - name: Store Artifacts | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: demo-objc | ||
# path: |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source "https://rubygems.org" | ||
gem 'fastlane' | ||
gem 'cocoapods' | ||
gem "cocoapods", "= 1.12.0" |
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
2 changes: 1 addition & 1 deletion
2
OptableSDK.xcodeproj/xcshareddata/xcschemes/OptableSDK.xcscheme
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 |
---|---|---|
|
@@ -76,4 +76,4 @@ SPEC CHECKSUMS: | |
|
||
PODFILE CHECKSUM: 48d927338b39550c29272b694f6c18710f33f913 | ||
|
||
COCOAPODS: 1.11.2 | ||
COCOAPODS: 1.12.0 |
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 |
---|---|---|
|
@@ -76,4 +76,4 @@ SPEC CHECKSUMS: | |
|
||
PODFILE CHECKSUM: a7bf67fad0ec61ca3a95f0f8a9aadf2c4fd2cd76 | ||
|
||
COCOAPODS: 1.11.2 | ||
COCOAPODS: 1.12.0 |
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