Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/automation #13

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/build_frameworks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Rive framework

on:
push
# push:
# tags:
# - '*'

jobs:
build_frameworks:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.RIVE_REPO_PAT }}
submodules: recursive
- name: Init submodule
run: git submodule update --init
- id: build_iphoneos
name: Build release iphoneos framework
run: sh ./scripts/buildFramework.sh -t iphoneos -c Release
- id: build_iphonesimulator
name: Build release iphonesimulator framework
run: sh ./scripts/buildFramework.sh -t iphonesimulator -c Release
- id: merge_frameworks
if: steps.build_iphoneos.conclusion == 'success' && steps.build_iphonesimulator.conclusion == 'success'
name: Merge created frameworks
run: sh ./scripts/mergeFrameworks.sh -c Release
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: rive-framework
path: build/RiveRuntime.xcframework
11 changes: 11 additions & 0 deletions Example-iOS/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'RiveExample' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for RiveExample
pod 'RiveRuntime', :git => 'https://github.com/callstack-internal/RiveFramework.git'

end
21 changes: 21 additions & 0 deletions Example-iOS/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PODS:
- RiveRuntime (1.0.0)

DEPENDENCIES:
- RiveRuntime (from `https://github.com/callstack-internal/RiveFramework.git`)

EXTERNAL SOURCES:
RiveRuntime:
:git: https://github.com/callstack-internal/RiveFramework.git

CHECKOUT OPTIONS:
RiveRuntime:
:commit: c5adcd0bae14ffc1e7558373ef23912744412c0f
:git: https://github.com/callstack-internal/RiveFramework.git

SPEC CHECKSUMS:
RiveRuntime: 3839daac057e176b716fbeed0f751f770edc96da

PODFILE CHECKSUM: ca7532a832a3fb8d1bff3f4aa4d22f6baddebaa2

COCOAPODS: 1.10.1
32 changes: 32 additions & 0 deletions Example-iOS/Pods/Local Podspecs/RiveRuntime.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions Example-iOS/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading