Skip to content

Commit

Permalink
Update build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongrider committed Oct 25, 2020
1 parent 76a8ba0 commit e4a6d0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build
on: push
jobs:
build-ios:
name: build-ios
build-example-ios:
name: build-example-ios
runs-on: macos-latest
steps:
- name: Checkout
Expand All @@ -12,9 +12,9 @@ jobs:
- name: Bootstrap
run: yarn bootstrap
- name: Build
run: yarn example ios
build-android:
name: build-android
run: cd example/ios && xcodebuild -workspace CameraKitExample.xcworkspace -configuration Debug -scheme CameraKitExample -arch x86_64
build-example-android:
name: build-example-android
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -24,4 +24,4 @@ jobs:
- name: Bootstrap
run: yarn bootstrap
- name: Build
run: yarn example android
run: cd example/android && ./gradlew assembleDebug
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"scripts": {
"test": "jest",
"lint": "yarn eslint -c .eslintrc.js",
"build:ios": "",
"start": "watchman watch-del-all && node node_modules/react-native/local-cli/cli.js start",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
Expand Down

0 comments on commit e4a6d0b

Please sign in to comment.