Skip to content

Commit

Permalink
windows paths
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricGuillemet committed Sep 25, 2024
1 parent 6bd89e3 commit 5931a52
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,13 @@ jobs:
run: npx install-windows-test-app
working-directory: ./Apps/BRNPlayground

- name: BabylonNative build directory
run: mkdir @babylonjs/react-native/Build/uwp_${{ matrix.platform }}
working-directory: ./Modules

- name: CMake BabylonNative
run: cmake -G "Visual Studio 16 2019" -B ./Build/uwp_${{ matrix.platform }} -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 ${{ matrix.platform == 'x86' && 'win32' || matrix.platform}} ./../react-native-windows/windows
working-directory: ./Modules/@babylonjs/react-native
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 ${{ matrix.platform == 'x86' && 'win32' || matrix.platform}} ./../../../react-native-windows/windows
working-directory: ./Modules/@babylonjs/react-native/Build/uwp_${{ matrix.platform }}

- name: Nuget restore
run: nuget restore BRNPlayground.sln
Expand All @@ -166,7 +170,7 @@ jobs:
run: MSBuild /p:Platform="${{ matrix.platform == 'x86' && 'win32' || matrix.platform}}" /p:Configuration="${{ matrix.config }}" /m ReactNativeBabylon.sln
working-directory: ./Modules/@babylonjs/react-native/Build/uwp_${{ matrix.platform }}

- name: Windows build BRN ${{ matrix.config }}
- name: Windows build BRN ${{ matrix.platform }} ${{ matrix.config }}
run: MSBuild /p:Platform="${{ matrix.platform == 'x86' && 'win32' || matrix.platform}}" /p:Configuration="${{ matrix.config }}" /m BRNPlayground.sln
working-directory: ./Apps/BRNPlayground/windows

Expand Down

0 comments on commit 5931a52

Please sign in to comment.