File tree Expand file tree Collapse file tree 4 files changed +71
-5
lines changed
Modules/@babylonjs/react-native Expand file tree Collapse file tree 4 files changed +71
-5
lines changed Original file line number Diff line number Diff line change 2222 package :
2323 needs : [build-typescript]
2424 uses : ./.github/workflows/package.yml
25+
26+ test-package-ios :
27+ needs : [package]
28+ uses : ./.github/workflows/test_ios.yml
29+
30+ test-package-android :
31+ needs : [package]
32+ uses : ./.github/workflows/test_android.yml
Original file line number Diff line number Diff line change 1+ name : ' build test android'
2+
3+ on :
4+ workflow_call
5+
6+ jobs :
7+ build-test-android :
8+ runs-on : macos-latest
9+ steps :
10+ - name : Checkout Repo
11+ 12+
13+ - name : Download artifact
14+ uses : actions/download-artifact@v4
15+ with :
16+ name : BabylonReactNative
17+ path : .
18+ - name : Install build package
19+ run : |
20+ unzip ../../BabylonReactNative.zip
21+ npm install ../../babylonjs-react-native-0.0.1.tgz
22+ working-directory : ./Apps/Playground
23+
24+ - name : Gulp (Android)
25+ run : npx gulp buildAndroid
26+ working-directory : ./Package
27+
Original file line number Diff line number Diff line change 1+ name : ' build test ios'
2+
3+ on :
4+ workflow_call
5+
6+ jobs :
7+ build-test-iOS :
8+ runs-on : macos-latest
9+ steps :
10+ - name : Checkout Repo
11+ 12+
13+ - name : Download artifact
14+ uses : actions/download-artifact@v4
15+ with :
16+ name : BabylonReactNative
17+ path : .
18+ - name : Install build package
19+ run : |
20+ unzip ../../BabylonReactNative.zip
21+ npm install ../../babylonjs-react-native-0.0.1.tgz
22+ working-directory : ./Apps/Playground
23+
24+ - name : Clean and Install Pods
25+ run : |
26+ cd ios
27+ rm -rf Pods Podfile.lock
28+ pod install
29+ working-directory : ./Apps/Playground
30+
31+ - name : Gulp (iOS)
32+ run : npx gulp buildIOS
33+ working-directory : ./Package
Original file line number Diff line number Diff line change 2424 "license" : " MIT" ,
2525 "licenseFilename" : " LICENSE" ,
2626 "readmeFilename" : " README.md" ,
27- "dependencies" : {
28- "base-64" : " ^0.1.0" ,
29- "semver" : " ^7.3.2" ,
30- "cmake-runtime" : " 3.31.0"
31- },
3227 "peerDependencies" : {
3328 "@babylonjs/core" : " >=5.53.1" ,
3429 "react" : " *" ,
3530 "react-native" : " *" ,
3631 "react-native-permissions" : " >=3.0.0"
3732 },
3833 "devDependencies" : {
34+ "base-64" : " ^0.1.0" ,
35+ "semver" : " ^7.3.2" ,
36+ "cmake-runtime" : " 3.31.0" ,
3937 "@babel/core" : " ^7.8.4" ,
4038 "@babel/runtime" : " ^7.8.4" ,
4139 "@babylonjs/core" : " >=5.53.1" ,
You can’t perform that action at this time.
0 commit comments