Skip to content

Fix #614. "onError" method needs to be declared #471

Fix #614. "onError" method needs to be declared

Fix #614. "onError" method needs to be declared #471

Workflow file for this run

name: Build
on:
pull_request:
types: [opened, reopened]
push:
jobs:
build-example-ios:
name: build-example-ios
runs-on: macos-latest
steps:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.4'
- name: Checkout
uses: actions/checkout@v3
- name: Install modules
run: yarn
- name: Install example
run: yarn bootstrap
- name: Build
run: cd example/ios && xcodebuild -workspace CameraKitExample.xcworkspace -configuration Debug -scheme CameraKitExample -sdk iphoneos build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
build-example-android:
name: build-example-android
runs-on: ubuntu-latest # using linux runner for speed
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Install modules
run: yarn
- name: Install example
run: yarn bootstrap-linux
- name: Build
run: cd example/android && ./gradlew assembleDebug