Skip to content

Commit 7ac6533

Browse files
authored
Merge branch 'AcademySoftwareFoundation:main' into graph_genshader_graphs
2 parents bc5b62c + 1cd6459 commit 7ac6533

62 files changed

Lines changed: 7366 additions & 12186 deletions

Some content is hidden

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

.github/workflows/main.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ jobs:
227227
run: cmake --build build --target install --config Release --parallel 2
228228

229229
- name: CMake Unit Tests
230-
run: ctest -VV --output-on-failure --build-config Release
230+
run: ctest --output-on-failure --build-config Release
231231
working-directory: build
232232

233233
- name: Python Tests
@@ -374,12 +374,13 @@ jobs:
374374
path: build/**/*.perfetto-trace
375375
if-no-files-found: ignore
376376

377-
- name: Upload Log Files
377+
- name: Upload Test Logs
378378
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
379379
if: always()
380380
with:
381-
name: Log_files_${{ matrix.name }}
381+
name: TestLog_${{ matrix.name }}
382382
path: build/bin/**/*.txt
383+
if-no-files-found: ignore
383384

384385
javascript:
385386
name: JavaScript
@@ -411,17 +412,20 @@ jobs:
411412
- name: JavaScript CMake Build
412413
run: cmake --build javascript/build --target install --config Release --parallel 2
413414

415+
- name: Install JavaScript Dependencies
416+
run: |
417+
npm ci
418+
npx playwright install --with-deps chromium
419+
working-directory: javascript
420+
414421
- name: JavaScript Unit Tests
415422
run: |
416-
npm install
417423
npm run test
418424
npm run test:browser
419425
working-directory: javascript/MaterialXTest
420426

421427
- name: Build Web Viewer
422-
run: |
423-
npm install
424-
npm run build
428+
run: npm run build
425429
working-directory: javascript/MaterialXView
426430

427431
- name: Deploy Web Viewer

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,3 +698,8 @@ if(NOT SKBUILD)
698698
"${PROJECT_BINARY_DIR}/cmake/${CMAKE_PROJECT_NAME}Config.cmake"
699699
DESTINATION "${MATERIALX_GEN_CONFIG_PATH}")
700700
endif()
701+
702+
# Run pip install after all install steps
703+
if(MATERIALX_BUILD_PYTHON AND MATERIALX_INSTALL_PYTHON AND PYTHON_EXECUTABLE AND NOT SKBUILD)
704+
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pip install . WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/python)")
705+
endif()

javascript/MaterialXTest/.babelrc

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

javascript/MaterialXTest/browser/karma.conf.js

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

0 commit comments

Comments
 (0)