Skip to content

Commit 3465271

Browse files
authored
Merge branch 'AcademySoftwareFoundation:main' into status_line
2 parents 18c497a + f6dc35f commit 3465271

67 files changed

Lines changed: 1039 additions & 455 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: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133

134134
steps:
135135
- name: Sync Repository
136-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
136+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
137137
with:
138138
submodules: recursive
139139

@@ -178,12 +178,12 @@ jobs:
178178
- name: Install MDL SDK
179179
if: env.IS_EXTENDED_BUILD == 'true' && matrix.extended_build_mdl_sdk == 'ON' && runner.os == 'Windows'
180180
run: |
181-
C:/vcpkg/vcpkg install mdl-sdk[dds,df-vulkan,openimageio] --triplet=x64-windows-release
181+
C:/vcpkg/vcpkg install mdl-sdk --triplet=x64-windows-release
182182
Add-Content $env:GITHUB_PATH "C:/vcpkg/installed/x64-windows-release/bin"
183183
184184
- name: Install Python ${{ matrix.python }}
185185
if: matrix.python != 'None'
186-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
186+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
187187
with:
188188
python-version: ${{ matrix.python }}
189189
architecture: ${{ matrix.architecture }}
@@ -325,61 +325,70 @@ jobs:
325325

326326
- name: Upload Installed Package
327327
if: matrix.python != 'None'
328-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
328+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
329329
with:
330330
name: MaterialX_${{ matrix.name }}
331331
path: build/installed/
332332

333333
- name: Upload Formatted Source
334334
if: matrix.clang_format == 'ON'
335-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
335+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
336336
with:
337337
name: MaterialX_ClangFormat
338338
path: source
339339

340340
- name: Upload Reference Shaders
341-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
341+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
342342
if: matrix.upload_shaders == 'ON'
343343
with:
344344
name: MaterialX_ReferenceShaders
345345
path: build/bin/reference/
346346

347347
- name: Upload Renders
348-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
348+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
349349
if: matrix.test_render == 'ON'
350350
with:
351351
name: Renders_${{ matrix.name }}
352352
path: build/render/*.png
353353

354354
- name: Upload Resources (MacOS)
355-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
355+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
356356
if: matrix.test_render == 'ON' && runner.os == 'macOS'
357357
with:
358358
name: Resources_${{ matrix.name }}
359359
path: build/bin/resources
360360

361361
- name: Upload Coverage Report
362-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
362+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
363363
if: matrix.coverage_analysis == 'ON'
364364
with:
365365
name: MaterialX_Coverage
366366
path: build/coverage
367367

368368
- name: Upload Perfetto Traces
369-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
369+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
370370
if: matrix.extended_build_perfetto == 'ON' && env.IS_EXTENDED_BUILD == 'true'
371371
with:
372372
name: Traces_${{ matrix.name }}
373373
path: build/**/*.perfetto-trace
374374
if-no-files-found: ignore
375375

376+
- name: Upload Log Files
377+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
378+
if: always()
379+
with:
380+
name: Log_files_${{ matrix.name }}
381+
path: build/bin/**/*.txt
382+
376383
javascript:
377384
name: JavaScript
378385
runs-on: ubuntu-latest
386+
permissions:
387+
contents: write
379388

380389
steps:
381390
- name: Sync Repository
382-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
391+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
383392

384393
- name: Install Emscripten
385394
run: |
@@ -391,7 +400,7 @@ jobs:
391400
echo "EMSDK=$EMSDK" >> $GITHUB_ENV
392401
393402
- name: Install Node
394-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
403+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
395404
with:
396405
node-version: '22.16.0'
397406

@@ -416,14 +425,14 @@ jobs:
416425

417426
- name: Deploy Web Viewer
418427
if: github.event_name != 'pull_request'
419-
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
428+
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
420429
with:
421430
branch: gh-pages
422431
folder: javascript/MaterialXView/dist
423432
single-commit: true
424433

425434
- name: Upload JavaScript Package
426-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
435+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
427436
with:
428437
name: MaterialX_JavaScript
429438
path: javascript/build/installed/JavaScript/MaterialX
@@ -437,10 +446,10 @@ jobs:
437446

438447
steps:
439448
- name: Sync Repository
440-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
449+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
441450

442451
- name: Install Python
443-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
452+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
444453
with:
445454
python-version: 3.11
446455

@@ -452,7 +461,7 @@ jobs:
452461
echo "filename=$(ls dist)" >> "$GITHUB_OUTPUT"
453462
454463
- name: Upload SDist
455-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
464+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
456465
with:
457466
name: MaterialX_Python_SDist
458467
path: dist/*.tar.gz
@@ -465,20 +474,20 @@ jobs:
465474
strategy:
466475
fail-fast: false
467476
matrix:
468-
python-minor: ['9', '10', '11', '12', '13']
477+
python-minor: ['9', '10', '11', '12', '13', '14']
469478
os: ['ubuntu-24.04', 'windows-2022', 'macos-15']
470479

471480
steps:
472481
- name: Sync Repository
473-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
482+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
474483

475484
- name: Install Python 3.${{ matrix.python-minor }}
476-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
485+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
477486
with:
478487
python-version: 3.${{ matrix.python-minor }}
479488

480489
- name: Download Sdist
481-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
490+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
482491
with:
483492
name: MaterialX_Python_SDist
484493
path: sdist
@@ -488,15 +497,15 @@ jobs:
488497
if: runner.os == 'Windows'
489498

490499
- name: Build Wheel
491-
uses: pypa/cibuildwheel@6a41245b42fcb325223b8793746f10456ed07436 # v2.23.2
500+
uses: pypa/cibuildwheel@ee02a1537ce3071a004a6b08c41e72f0fdc42d9a # v3.4.0
492501
with:
493502
package-dir: ${{ github.workspace }}/sdist/${{ needs.sdist.outputs.sdist_filename }}
494503
env:
495504
CIBW_BUILD: 'cp3${{ matrix.python-minor }}-*'
496505
CIBW_SKIP: '*musllinux*'
497506
CIBW_ARCHS: 'auto64'
498507
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
499-
CIBW_BEFORE_ALL_LINUX: yum install -y libXt-devel doxygen
508+
CIBW_BEFORE_ALL_LINUX: dnf install -y libXt-devel doxygen
500509
CIBW_BEFORE_ALL_MACOS: brew install doxygen
501510
CIBW_BUILD_VERBOSITY: 1
502511
CIBW_ENVIRONMENT: CMAKE_BUILD_PARALLEL_LEVEL=2
@@ -512,7 +521,7 @@ jobs:
512521
working-directory: python
513522

514523
- name: Upload Wheel
515-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
524+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
516525
with:
517526
name: MaterialX_Python_Wheel_${{ runner.os }}_3_${{ matrix.python-minor }}
518527
path: wheelhouse/*.whl

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Sync Repository
24-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2525
with:
2626
submodules: recursive
2727

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
build
22
dist
33
.DS_Store
4+
CMakeUserPresets.json

0 commit comments

Comments
 (0)