Skip to content

Commit d3652d0

Browse files
New NPM (#665)
* removed Windows XR support * NDK min is 23.1.7779620 * disable warnings xr android * no warning nativeCamera Android * disable XMLHttpRequest warnings * even less warnings * brings back rnta * windows rnta * action cache version * windows build link path * bimg and bx path * removed nativexr from linking * xr leftovers * lib webp windows * disable webp windows * Scheduling * scheduling path * actions/download-artifact version * test Xcode 16.2 * Test Node 18 * up cmake version * bump to 0.71 * no webp * removed webp * Bundle sources in NPM. Step 1 * build BN source tree * post install Darwin * npm install * disable post install * cleanup * test without bundle * unused? * fix paths * pr jobs * getting a bit further with Android * android build * xcode * windows cmake path * podspec * builds and links on iOS * BN commit id * ios cmake populate * ioscmake * removed deprecated gulp code * remove freespace * buildTS * ios build * publish test * buildIOS * missing build functions * validate files * missing comma * validate include * android readme * validate files windows * reduce deps size * bgfx scripts needed * stb * sdf * windows pipeline * validate files repo folder * "This is a scheduled Windows Server 2019 brownout." * up RN permissions * Revert "up RN permissions" This reverts commit 6edebe8. * TargetPlatformVersion * WindowsStore * more path fix * vs 2022 * clean up yml * PLAYGROUND_DIR * JSEngine * JSI * Android fixes * metro config * BN commit ID * bn commit id * fbjni include * ios post install * missing file * pod spec * xcodebuild * xcode build * cleanup * pod install * android fbjni * pod spec * Update metro.config.js * npm pack * npm pack * tgz path * path to react-native ios * build source tree before assembling * build TS on linux * podspec absolute paths * more on symlinks * assemble on macos * paths and assemble * podspec * Update typescript.yml * Update react-native-babylon.podspec * Update react-native-babylon.podspec * xr was missing * test removed extract gradle * update PG deps * package lock * Update Podfile.lock * gradle version, disable windows build * fbjni headers * vcxproj update * windows build * RNW * RNW lib paths * metro config * webp is back * special json for windows * detailed msbuild log * package lock windows * fix BabylonReactNativeDir * libwebp * copy command * show me your paths * more on paths * windows build, missing postinstall.js * webp and windows paths * debug path * Update BabylonReactNative.vcxproj * Update BabylonReactNative.vcxproj * xr & camera plugins env var * ar files, fix vcxproj, gradle consistency * FETCHCONTENT_SOURCE_DIR_ARCORE-ANDROID-SDK * arcore-android-sdk non necessary files * windows bundling * setup-msbuild version warning * cleaning yml * msbuild is needed, fix pod spec lib paths * cmake path * set react native version * --legacy-peer-deps * test select RN version * set react native * back on rn version 0.73 * set permission version * set permissions * 0.74 maybe * removed code to modify example * revert RN selection script * READMEs * reworking CI * more CI refactor * fix workflow * fix ios preprocessors * typos, spelling * android testing * permissions ios! * removed commented cmake script * old doc * setup_dev script * async copy jobs * more explicit typescript compilation * series * async * cmake-runtime * simplify cmake usage * run npx * PR feedback and use latest BN * minz * test produced packages * artifact path * debugging action * no need to unzip * no need to unzip * npm install * more npm install * apk location * more explicit cmake command * Revert "more explicit cmake command" This reverts commit e70834c. * removed resolver path * removed testing CI steps * dep update * Prevent partial outputs when unzipping Babylon Native sources on macOS * update package.json * WindowsTargetPlatformVersion=10.0.26100.0 * WindowsTargetPlatformVersion * WindowsTargetPlatformVersion * CppWinRT.2.0.250303.1 * npx gulp setupDev * root package.json * root node * removed root package * back to setup dev * generated files path * more trimming * escape character * remove RN support for < 0.71 * more debug * header path * cleanup windows * android react-native stub * files list to validate * PR feedback * current source dir * typo * up BN commit id * Test with forked repo * subfolders tsc * ts build * gsl * Foundation lib * foundation ios lib path * react-native-config 1.5.5 * arcore libs extract * readme + foundation lib path * BN commit id * .so name * turbomodule investigations * PROJECT_BUILD_DIR * gradle fix * test forced error * target_compile_definitions for BN shared * plugin is initialized * more future proof gradle/cmake for android * reorganize targets usage * npm ls * find RN, skip babylon js node_modules * prefab header gradle * anonymous namespace * ShaderCache * shadercompiler * test disable appsdk * winrt files dir * winrt * BN commit ID * vcxproj property sheet * platform version * prefab * gradle workaround * WINRT_SOURCE_LOCATION flag * cppwinrt again * version forwarding * kick build * vcxproj injection * disable windows for pr build * PR build * pr yml name * removed trigger * publish preview --------- Co-authored-by: Simone De Vittorio <simonedevittorio.me@gmail.com>
1 parent 0babdca commit d3652d0

965 files changed

Lines changed: 50359 additions & 375266 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/android.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'build android'
2+
on:
3+
workflow_call
4+
5+
jobs:
6+
build-android:
7+
runs-on: macos-latest
8+
steps:
9+
- name: Checkout Repo
10+
uses: actions/checkout@v4.2.2
11+
- name: Setting up developer environment
12+
run: node setup_dev.js
13+
working-directory: ./Package
14+
15+
- name: List installed packages
16+
run: npm ls
17+
working-directory: ./Apps/Playground
18+
19+
- name: Gulp (Android)
20+
run: npx gulp buildAndroid
21+
working-directory: ./Package
22+

.github/workflows/bn_master_commit.yml

Lines changed: 0 additions & 121 deletions
This file was deleted.

.github/workflows/ios.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 'build ios'
2+
3+
on:
4+
workflow_call
5+
6+
jobs:
7+
build-iOS:
8+
runs-on: macos-latest
9+
steps:
10+
- name: Checkout Repo
11+
uses: actions/checkout@v4.2.2
12+
13+
- name: Setting up developer environment
14+
run: node setup_dev.js
15+
working-directory: ./Package
16+
17+
- name: Clean and Install Pods
18+
run: |
19+
cd ios
20+
rm -rf Pods Podfile.lock
21+
pod install
22+
working-directory: ./Apps/Playground
23+
24+
- name: Gulp (iOS)
25+
run: npx gulp buildIOS
26+
working-directory: ./Package

.github/workflows/ios_android.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/macos_freespace/action.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/package.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: 'publish'
2+
on:
3+
workflow_call
4+
5+
jobs:
6+
package:
7+
runs-on: macos-latest
8+
steps:
9+
- name: Checkout Repo
10+
uses: actions/checkout@v4.2.2
11+
- name: NPM Install
12+
run: npm install
13+
working-directory: ./Package
14+
- name: Download Assembled Folder
15+
uses: actions/download-artifact@v4
16+
with:
17+
name: 'Assembled'
18+
path: Package/Assembled
19+
20+
- name: Publish Package dry run
21+
run: |
22+
npm publish --access public --dry-run
23+
npm pack
24+
working-directory: ./Package/Assembled
25+
26+
- name: Upload .tgz tarball
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: BabylonReactNative
30+
path: "./Package/Assembled/*.tgz"

0 commit comments

Comments
 (0)