Skip to content

Commit 764b451

Browse files
authored
Add external texture tests (#1574)
1 parent 00a061e commit 764b451

Some content is hidden

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

46 files changed

+323
-664
lines changed

.github/jobs/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
displayName: 'Select XCode $(XCODE_VERSION)'
2323
2424
- script: |
25-
cmake -G Xcode -B buildmacOS -D CMAKE_UNITY_BUILD=$(UNITY_BUILD) -D BABYLON_DEBUG_TRACE=ON -D ENABLE_SANITIZERS=$(SANITIZER_FLAG)
25+
cmake -G Xcode -B buildmacOS -D CMAKE_UNITY_BUILD=$(UNITY_BUILD) -D BABYLON_DEBUG_TRACE=ON -D ENABLE_SANITIZERS=$(SANITIZER_FLAG) -D BABYLON_NATIVE_TESTS_USE_NOOP_METAL_DEVICE=ON
2626
displayName: 'Generate macOS solution'
2727
2828
- script: |

.github/jobs/test_install_ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ parameters:
55

66
jobs:
77
- job: ${{ parameters.name }}
8-
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
8+
#condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
99
timeoutInMinutes: 60
1010
pool:
1111
vmImage: ${{ parameters.vmImage }}
12-
12+
1313
steps:
1414
- template: cmake.yml
1515
parameters:

.github/jobs/test_install_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ parameters:
77

88
jobs:
99
- job: ${{ parameters.name }}
10-
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
10+
#condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
1111
timeoutInMinutes: 30
1212
pool:
1313
vmImage: ${{ parameters.vmImage }}

.github/jobs/test_install_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ parameters:
44

55
jobs:
66
- job: ${{ parameters.name }}
7-
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
7+
#condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
88
timeoutInMinutes: 30
99
pool:
1010
vmImage: ${{ parameters.vmImage }}
11-
11+
1212
steps:
1313
- template: cmake.yml
1414
parameters:

.github/jobs/test_install_win32.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ parameters:
1515
- name: graphics_api
1616
type: string
1717
default: D3D11
18-
18+
1919
jobs:
2020
- job: ${{ parameters.name }}
21-
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
21+
#condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
2222
timeoutInMinutes: 20
2323
pool:
2424
vmImage: ${{ parameters.vmImage }}
@@ -43,14 +43,14 @@ jobs:
4343
- script: |
4444
cmake -G "Visual Studio 17 2022" -B build${{ variables.solutionName }} -A ${{ parameters.platform }} ${{ variables.jsEngineDefine }} -D BX_CONFIG_DEBUG=ON -D GRAPHICS_API=${{ parameters.graphics_api }} -D CMAKE_UNITY_BUILD=$(UNITY_BUILD) -D BGFX_CONFIG_MAX_FRAME_BUFFERS=256 -D BABYLON_DEBUG_TRACE=ON
4545
displayName: 'Generate ${{ variables.solutionName }} solution'
46-
46+
4747
- task: MSBuild@1
4848
inputs:
4949
solution: 'build${{ variables.solutionName }}/BabylonNative.sln'
5050
maximumCpuCount: true
5151
configuration: 'RelWithDebInfo'
5252
displayName: 'Build ${{ variables.solutionName }}'
53-
53+
5454
- script: |
5555
cmake --build build${{ variables.solutionName }} --target INSTALL --config RelWithDebInfo
5656
cd Install/Test

Apps/HeadlessScreenshotApp/Win32/App.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ int main()
109109

110110
// Initialize the console polyfill.
111111
Babylon::Polyfills::Console::Initialize(env, [](const char* message, auto) {
112-
std::cout << message;
112+
std::cout << message << std::endl;
113113
});
114114

115115
// Initialize the window, XMLHttpRequest, and NativeEngine polyfills.

Apps/UnitTests/Android/.gitignore

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

Apps/UnitTests/Android/app/build.gradle

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

Apps/UnitTests/Android/app/proguard-rules.pro

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

Apps/UnitTests/Android/app/src/androidTest/java/com/babylonnative/unittests/Main.java

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

0 commit comments

Comments
 (0)