Skip to content

Commit 1b66694

Browse files
authored
Merge branch 'AcademySoftwareFoundation:main' into functional_nodedefs
2 parents 7eda488 + b26de54 commit 1b66694

70 files changed

Lines changed: 7850 additions & 12832 deletions

File tree

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
@@ -373,12 +373,13 @@ jobs:
373373
path: build/**/*.perfetto-trace
374374
if-no-files-found: ignore
375375

376-
- name: Upload Log Files
376+
- name: Upload Test Logs
377377
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
378378
if: always()
379379
with:
380-
name: Log_files_${{ matrix.name }}
380+
name: TestLog_${{ matrix.name }}
381381
path: build/bin/**/*.txt
382+
if-no-files-found: ignore
382383

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

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

420426
- name: Build Web Viewer
421-
run: |
422-
npm install
423-
npm run build
427+
run: npm run build
424428
working-directory: javascript/MaterialXView
425429

426430
- 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)