-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
233d17c
commit 22aeec0
Showing
2 changed files
with
155 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,44 @@ env: | |
|
||
jobs: | ||
build-android: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
- name: Setup Node 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Setup CMake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.26.3' | ||
- name: Setup Ninja | ||
run: brew install ninja | ||
- name: NPM Install (Playground) | ||
run: npm install | ||
working-directory: ./Apps/Playground | ||
- name: NPM Install (React Native ${{ env.BRN_Version }}) | ||
run: npm run select ${{ env.BRN_Version }} | ||
working-directory: ./Apps/Playground | ||
- 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 buildAndroid | ||
working-directory: ./Package | ||
env: | ||
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }} | ||
|
||
build-android-rnta: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout Repo | ||
|
@@ -44,13 +82,32 @@ jobs: | |
working-directory: ./Package | ||
env: | ||
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }} | ||
- name: Upload android | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: 'Android-artifact' | ||
path: Build | ||
|
||
build-iOS: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
- name: Setup Node 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: NPM Install (Playground) | ||
run: npm install | ||
working-directory: ./Apps/Playground | ||
- name: NPM Install (React Native ${{ env.BRN_Version }}) | ||
run: npm run select --reactNative ${{ env.BRN_Version }} | ||
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 | ||
|
||
build-iOS-rnta: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout Repo | ||
|
@@ -74,13 +131,46 @@ jobs: | |
- name: Gulp (iOS) | ||
run: npx gulp buildIOSRNTA | ||
working-directory: ./Package | ||
# - name: Upload ios | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: 'ios-artifact' | ||
# path: Apps/BRNPlayground/ | ||
|
||
build-windows: | ||
test-publish-android-ios: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
- name: Setup Node 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Setup CMake | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.26.3' | ||
- name: Setup Ninja | ||
run: brew install ninja | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
check-latest: true | ||
- name: NPM Install (Playground) | ||
run: npm install | ||
working-directory: ./Apps/Playground | ||
- name: NPM Install (React Native ${{ env.BRN_Version }}) | ||
run: npm run select --reactNative ${{ env.BRN_Version }} | ||
working-directory: ./Apps/Playground | ||
- name: NPM Install (Binary Package) | ||
run: npm install | ||
working-directory: ./Package | ||
- name: Gulp | ||
run: npx gulp | ||
working-directory: ./Package | ||
env: | ||
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }} | ||
|
||
build-windows-rnta: | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Support longpaths | ||
|
@@ -99,10 +189,7 @@ jobs: | |
- name: Install watchman | ||
run: choco install watchman | ||
working-directory: ./Apps/BRNPlayground | ||
# - name: Setup NuGet | ||
# uses: nuget/setup-nuget@v1 | ||
# with: | ||
# nuget-version: '5.x' | ||
|
||
- name: NPM Install RNTA | ||
run: npm install | ||
working-directory: ./Apps/BRNPlayground | ||
|
@@ -119,13 +206,9 @@ jobs: | |
run: npx install-windows-test-app | ||
working-directory: ./Apps/BRNPlayground | ||
|
||
# - name: Gulp build windows | ||
# run: npx gulp buildUWPx64DebugRNTA | ||
# working-directory: ./Package | ||
|
||
- name: BabylonNative build directory | ||
run: mkdir @babylonjs/react-native/Build/uwp_x64 | ||
working-directory: ./Modules | ||
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 | ||
|
@@ -143,62 +226,56 @@ jobs: | |
run: MSBuild /p:Platform="x64" /p:Configuration="Release" /m BRNPlayground.sln | ||
working-directory: ./Apps/BRNPlayground/windows | ||
|
||
- name: Upload Windows | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: 'Windows-artifact' | ||
path: Apps/BRNPlayground/windows/AppPackages/ReactTestApp/ReactTestApp_1.0.0.0_x64_Test | ||
|
||
# Test packages | ||
# build-android-ios-065: | ||
# uses: ./.github/workflows/ios_android.yml | ||
# with: | ||
# react-native-version: '0.65' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
# | ||
# build-android-ios-069: | ||
# uses: ./.github/workflows/ios_android.yml | ||
# with: | ||
# react-native-version: '0.69' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
# | ||
# build-android-ios-070: | ||
# uses: ./.github/workflows/ios_android.yml | ||
# with: | ||
# react-native-version: '0.70' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
# | ||
# build-android-ios-071: | ||
# uses: ./.github/workflows/ios_android.yml | ||
# with: | ||
# react-native-version: '0.71' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
# | ||
# build-windows-065: | ||
# uses: ./.github/workflows/windows.yml | ||
# with: | ||
# react-native-version: '0.65' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
# | ||
# build-windows-069: | ||
# uses: ./.github/workflows/windows.yml | ||
# with: | ||
# react-native-version: '0.69' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
# | ||
# build-windows-070: | ||
# uses: ./.github/workflows/windows.yml | ||
# with: | ||
# react-native-version: '0.70' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
# | ||
# build-windows-071: | ||
# uses: ./.github/workflows/windows.yml | ||
# with: | ||
# react-native-version: '0.71' | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
# build-typescript: | ||
# uses: ./.github/workflows/typescript.yml | ||
# with: | ||
# release-version: 0.0.${GITHUB_SHA::8} | ||
build-android-ios-065: | ||
uses: ./.github/workflows/ios_android.yml | ||
with: | ||
react-native-version: '0.65' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-android-ios-069: | ||
uses: ./.github/workflows/ios_android.yml | ||
with: | ||
react-native-version: '0.69' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-android-ios-070: | ||
uses: ./.github/workflows/ios_android.yml | ||
with: | ||
react-native-version: '0.70' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-android-ios-071: | ||
uses: ./.github/workflows/ios_android.yml | ||
with: | ||
react-native-version: '0.71' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-windows-065: | ||
uses: ./.github/workflows/windows.yml | ||
with: | ||
react-native-version: '0.65' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-windows-069: | ||
uses: ./.github/workflows/windows.yml | ||
with: | ||
react-native-version: '0.69' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-windows-070: | ||
uses: ./.github/workflows/windows.yml | ||
with: | ||
react-native-version: '0.70' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-windows-071: | ||
uses: ./.github/workflows/windows.yml | ||
with: | ||
react-native-version: '0.71' | ||
release-version: 0.0.${GITHUB_SHA::8} | ||
|
||
build-typescript: | ||
uses: ./.github/workflows/typescript.yml | ||
with: | ||
release-version: 0.0.${GITHUB_SHA::8} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters