Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7155c9d
Add iOS CMakeLists.txt for binary package that just aggregates all th…
ryantrem Jul 1, 2020
aa9e768
Create package build script
ryantrem Jul 2, 2020
2eba9c6
Create universal libs that can be used with all supported architectures
ryantrem Jul 2, 2020
502f822
Add Android support to binary package
ryantrem Jul 2, 2020
1b775bc
Trying out a couple different things with gulp
ryantrem Jul 4, 2020
b1b9123
Simplify runProcess usage
ryantrem Jul 5, 2020
cb4cf61
Add missing semi-colons
ryantrem Jul 5, 2020
b3c66d2
Update to latest master BabylonNative submodule
ryantrem Jul 6, 2020
6787cc8
Remove runCommand and use src/pipe/dest
ryantrem Jul 6, 2020
04c540e
Add a package.json with the list of tools needed for the gulp build
ryantrem Jul 6, 2020
268e577
Remove everything from the tooling package.json except the tool depen…
ryantrem Jul 7, 2020
1822659
Switch podspec to just specify *.a for vendored_libraries
ryantrem Jul 7, 2020
b74e855
Add start of pr workflow
ryantrem Jul 7, 2020
bf460aa
Update pr.yml
ryantrem Jul 7, 2020
eeae1c4
Update pr.yml
ryantrem Jul 7, 2020
e0f6d58
Update pr.yml
ryantrem Jul 7, 2020
57a61f9
Switch to newer NDK version that is pre-installed on GitHub build agents
ryantrem Jul 7, 2020
bbb9040
Switch to newer NDK version that is pre-installed on GitHub build agents
ryantrem Jul 7, 2020
44c2e95
Update pr.yml
ryantrem Jul 7, 2020
6ac3bd2
Update pr.yml
ryantrem Jul 7, 2020
c7ad9ce
Update pr.yml
ryantrem Jul 7, 2020
cc1bd97
Update publish.yml
ryantrem Jul 8, 2020
a3fb83d
Update publish.yml
ryantrem Jul 8, 2020
392173a
Update publish.yml
ryantrem Jul 8, 2020
0ded9fb
Update publish.yml
ryantrem Jul 8, 2020
a7a811b
Merge master
ryantrem Jul 8, 2020
83e70e5
Switch back to npmjs.org
ryantrem Jul 8, 2020
6870a4f
Merge branch 'binary-builds' of https://github.com/BabylonJS/BabylonR…
ryantrem Jul 8, 2020
89542f8
Fix bad merge
ryantrem Jul 8, 2020
e56cba3
Update pr.yml
ryantrem Jul 8, 2020
841775b
Remove unnecessary steps
ryantrem Jul 8, 2020
cf8734a
Update package readme.md to reflect binary package consumption
ryantrem Jul 8, 2020
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
42 changes: 42 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: PR Build
on:
pull_request:
branches:
- master

jobs:
build-android:
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2.3.1
with:
submodules: 'recursive'
- name: Setup Ninja
run: brew install ninja
- name: Yarn Install (Playground)
run: yarn install
working-directory: ./Apps/Playground
- name: NPM Install (Binary Package)
run: npm install
working-directory: ./Package
- name: Gulp (Android)
run: npx gulp buildAndroid
working-directory: ./Package

build-iOS:
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2.3.1
with:
submodules: 'recursive'
- name: Yarn Install (Playground)
run: yarn install
working-directory: ./Apps/Playground
- name: NPM Install (Binary Package)
run: npm install
working-directory: ./Package
- name: Gulp (iOS)
run: npx gulp buildIOS
working-directory: ./Package
23 changes: 17 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,25 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2.2.0
- name: Checkout Submodules
uses: textbook/git-checkout-submodule-action@2.1.1
uses: actions/checkout@v2.3.1
with:
submodules: 'recursive'
- name: Setup Ninja
run: brew install ninja
- name: Yarn Install (Playground)
run: yarn install
working-directory: ./Apps/Playground
- name: NPM Install (Binary Package)
run: npm install
working-directory: ./Package
- name: Gulp
run: npx gulp
working-directory: ./Package
- name: Setup Node.js
uses: actions/setup-node@v1.4.2
uses: actions/setup-node@v2.1.0
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
Expand All @@ -21,6 +32,6 @@ jobs:
run: |
npm version --no-git-tag-version ${GITHUB_REF/refs\/tags\//}
npm publish --access public
working-directory: ./Apps/Playground/node_modules/@babylonjs/react-native
working-directory: ./Package/Assembled
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion Apps/Playground/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
minSdkVersion = 18
compileSdkVersion = 28
targetSdkVersion = 28
ndkVersion = "21.0.6113669"
ndkVersion = "21.3.6528147"
}
repositories {
google()
Expand Down
13 changes: 1 addition & 12 deletions Apps/Playground/node_modules/@babylonjs/react-native/README.md

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

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

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pod install --repo-update

### **Configuring a Mac Dev Environment**

**Required Tools:** [Android Studio](https://developer.android.com/studio/) (including NDK 21.0.6113669), [CMake](https://cmake.org/), [Ninja](https://ninja-build.org/)
**Required Tools:** [Android Studio](https://developer.android.com/studio/) (including NDK 21.3.6528147), [CMake](https://cmake.org/), [Ninja](https://ninja-build.org/)

- The `PATH` environment variable must include the path to adb (typically ~/Library/Android/sdk/platform-tools/).
- The `PATH` environment variable must include the path to Ninja, or Ninja must be [installed via a package manager](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages).
Expand All @@ -72,7 +72,7 @@ export ANDROID_AVD_HOME=~/.android/avd

### **Configuring a Windows Dev Environment**

**Required Tools:** [Android Studio](https://developer.android.com/studio/) (including NDK 21.0.6113669), [CMake](https://cmake.org/), [Ninja](https://ninja-build.org/)
**Required Tools:** [Android Studio](https://developer.android.com/studio/) (including NDK 21.3.6528147), [CMake](https://cmake.org/), [Ninja](https://ninja-build.org/)

- The `PATH` environment variable must include the path to adb (typically %LOCALAPPDATA%/Android/sdk/platform-tools/).
- The `PATH` environment variable must include the path to Ninja, or Ninja must be [installed via a package manager](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages).
Expand Down