Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNTA + CI #642

Merged
merged 65 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
58239cb
baseline: adding RNTA vanilla, it works
kelset Jan 30, 2024
3bb2aef
wire in the babylon stuff
kelset Feb 16, 2024
b58c768
a couple of temp files
kelset Feb 22, 2024
3988686
minor cleanup, bump to latest 73 and RNTA
kelset Feb 22, 2024
c824eac
add a quick readme
kelset Feb 22, 2024
e86b82d
Update Apps/BRNPlayground/macos/Podfile
kelset Feb 27, 2024
f1e5968
Update Apps/BRNPlayground/postinstall.js
kelset Feb 27, 2024
464a420
Update Apps/BRNPlayground/.gitignore
kelset Feb 27, 2024
7462da3
get CMake to build
kelset Feb 27, 2024
03b5a33
add xcworkspace
kelset Feb 27, 2024
03016e9
bump to latest RN and RNTA
kelset Feb 28, 2024
d7c79f8
RNTA + CI
CedricGuillemet Mar 19, 2024
7c2b55a
npm install
CedricGuillemet Mar 19, 2024
c06531b
java 17 instead of 21(default) because of this issue:
CedricGuillemet Mar 19, 2024
c68eab1
Windows build
CedricGuillemet Mar 20, 2024
eb617b3
npm install package
CedricGuillemet Mar 20, 2024
f72869d
msbuild typo
CedricGuillemet Mar 20, 2024
e3742e2
more windows build steps
CedricGuillemet Mar 20, 2024
54d07da
build steps in CI
CedricGuillemet Mar 20, 2024
1d99c24
path typo
CedricGuillemet Mar 20, 2024
34e5aa4
nuget restore
CedricGuillemet Mar 20, 2024
bf2b8d3
BN build
CedricGuillemet Mar 20, 2024
2169ffa
vcxproj paths
CedricGuillemet Mar 20, 2024
de4b8f7
x86
CedricGuillemet Mar 20, 2024
f9d8bfe
back to x64
CedricGuillemet Mar 20, 2024
55918a9
test w/o --use-nuget
CedricGuillemet Mar 21, 2024
1abe08c
patch rnpermissions vcxproj
CedricGuillemet Mar 21, 2024
06c8d09
back with use-nuget
CedricGuillemet Mar 21, 2024
9b6a02a
permissions vcxproj
CedricGuillemet Mar 21, 2024
9b4c7d9
vcxproj
CedricGuillemet Mar 21, 2024
75b6ccd
packages.config
CedricGuillemet Mar 21, 2024
8bf7e83
cppwinrt
CedricGuillemet Mar 21, 2024
c525e3d
merge .sln
CedricGuillemet Mar 22, 2024
7f8d043
do not build bundle
CedricGuillemet Mar 22, 2024
acc9838
props test
CedricGuillemet Mar 22, 2024
3684f69
import path
CedricGuillemet Mar 22, 2024
0bde816
props path again
CedricGuillemet Mar 22, 2024
e9eb002
put back libs in
CedricGuillemet Mar 22, 2024
b2fead7
cppwinrt
CedricGuillemet Mar 22, 2024
0849671
cmake import props
CedricGuillemet Mar 22, 2024
0dfd84a
project imports
CedricGuillemet Mar 22, 2024
f86023f
windows sdk props
CedricGuillemet Mar 26, 2024
6c18cac
windows sdk version
CedricGuillemet Mar 26, 2024
9c55f17
bump rn permissions
CedricGuillemet Mar 27, 2024
a8d7ef1
cleaning
CedricGuillemet Mar 27, 2024
ec37ccc
bundle build
CedricGuillemet Mar 27, 2024
1ac793c
ios/android builds
CedricGuillemet Mar 27, 2024
4f35fd5
windows build debug
CedricGuillemet Mar 27, 2024
e46f6ba
nuget
CedricGuillemet Mar 27, 2024
4e82d14
nuget
CedricGuillemet Mar 27, 2024
89986a3
metro config test
CedricGuillemet Mar 28, 2024
df2e8be
watchman
CedricGuillemet Mar 28, 2024
35d37cc
choco watchman
CedricGuillemet Mar 28, 2024
26fedb6
is this useful?
CedricGuillemet Mar 28, 2024
351d061
up rnta
CedricGuillemet Apr 8, 2024
d47e70b
artifact test
CedricGuillemet Apr 9, 2024
a6248ab
ios/android
CedricGuillemet Apr 9, 2024
8f4a6f4
build output dir
CedricGuillemet Apr 10, 2024
233d17c
Merge branch 'master' of https://github.com/BabylonJS/BabylonReactNat…
CedricGuillemet May 23, 2024
22aeec0
clean up
CedricGuillemet May 23, 2024
2b17028
build windows
CedricGuillemet May 23, 2024
b9661b7
build fixes
CedricGuillemet May 23, 2024
c3f97d2
windows build/cppwinrt
CedricGuillemet May 23, 2024
694d81c
kick build
CedricGuillemet May 23, 2024
82f3a59
Merge branch 'master' into rnta-ci
CedricGuillemet May 24, 2024
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
121 changes: 120 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,44 @@ jobs:
env:
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }}

build-android-rnta:
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2.3.3
with:
submodules: 'recursive'
- name: Setup CMake
uses: jwlawson/actions-setup-cmake@v1.8
with:
cmake-version: '3.26.3'
- name: Setup Ninja
run: brew install ninja
- name: Setup Watchman
run: brew install watchman
- name: NPM Install (Playground)
run: npm install
working-directory: ./Apps/BRNPlayground

- name: Build Windows Bundle
run: npm run build:android
working-directory: ./Apps/BRNPlayground

- name: NPM Install (Binary Package)
run: npm install
working-directory: ./Package
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
check-latest: true
- name: Gulp (Android)
run: npx gulp buildAndroidRNTA
working-directory: ./Package
env:
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }}

build-iOS:
runs-on: macos-latest
steps:
Expand All @@ -69,6 +107,31 @@ jobs:
run: npx gulp buildIOS
working-directory: ./Package

build-iOS-rnta:
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2.3.3
with:
submodules: 'recursive'
- name: Setup Watchman
run: brew install watchman

- name: NPM Install (Playground)
run: npm install
working-directory: ./Apps/BRNPlayground

- name: Build Windows Bundle
run: npm run build:ios
working-directory: ./Apps/BRNPlayground

- name: NPM Install (Binary Package)
run: npm install
working-directory: ./Package
- name: Gulp (iOS)
run: npx gulp buildIOSRNTA
working-directory: ./Package

test-publish-android-ios:
runs-on: macos-latest
steps:
Expand Down Expand Up @@ -152,6 +215,62 @@ jobs:
run: npx gulp buildUWPPlayground${{ matrix.platform }}${{ matrix.config }}
working-directory: ./Package

build-windows-rnta:
runs-on: windows-2019
steps:
- name: Support longpaths
run: git config --system core.longpaths true
- name: Checkout Repo
uses: actions/checkout@v2.3.3
with:
submodules: 'true'
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Setup Node 20
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install watchman
run: choco install watchman
working-directory: ./Apps/BRNPlayground

- name: NPM Install RNTA
run: npm install
working-directory: ./Apps/BRNPlayground

- name: Build Windows Bundle
run: npm run build:windows
working-directory: ./Apps/BRNPlayground

- name: NPM Install Package
run: npm install
working-directory: ./Package

- name: NPM Generate Windows Project
run: npx install-windows-test-app
working-directory: ./Apps/BRNPlayground

- name: BabylonNative build directory
run: mkdir @babylonjs/react-native/Build/uwp_x64
working-directory: ./Modules

- name: CMake BabylonNative
run: cmake -G "Visual Studio 16 2019" -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0.19041.0 -DCMAKE_UNITY_BUILD=true -D CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM=10.0.19041.0 -A x64 ./../../../react-native-windows/windows
working-directory: ./Modules/@babylonjs/react-native/Build/uwp_x64

- name: Nuget restore
run: nuget restore BRNPlayground.sln
working-directory: ./Apps/BRNPlayground/windows

- name: Windows build BN
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m ReactNativeBabylon.sln
working-directory: ./Modules/@babylonjs/react-native/Build/uwp_x64

- name: Windows build BRN
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m BRNPlayground.sln
working-directory: ./Apps/BRNPlayground/windows

# Test packages
build-android-ios-065:
uses: ./.github/workflows/ios_android.yml
Expand Down Expand Up @@ -204,4 +323,4 @@ jobs:
build-typescript:
uses: ./.github/workflows/typescript.yml
with:
release-version: 0.0.${GITHUB_SHA::8}
release-version: 0.0.${GITHUB_SHA::8}
Loading
Loading