|
9 | 9 |
|
10 | 10 | on: |
11 | 11 | push: |
12 | | - # Skip jobs when only documentation files are changed |
13 | 12 | # Skip jobs when only documentation files are changed |
14 | 13 | paths: |
15 | 14 | - '**' |
|
18 | 17 | - '!**.tex' |
19 | 18 | - '!**/analysis.yml' |
20 | 19 | - '!**/docs.yml' |
| 20 | + # - '!**/optix.yml' |
21 | 21 | - '!**.properties' |
22 | 22 | - '!doc/**' |
23 | 23 | pull_request: |
@@ -45,7 +45,7 @@ concurrency: |
45 | 45 | jobs: |
46 | 46 |
|
47 | 47 | aswf-old: |
48 | | - if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'gpu-only') }} |
| 48 | + if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'optix-only') }} |
49 | 49 | name: "VFX${{matrix.vfxyear}} ${{matrix.desc}}" |
50 | 50 | strategy: |
51 | 51 | fail-fast: false |
@@ -208,14 +208,14 @@ jobs: |
208 | 208 |
|
209 | 209 |
|
210 | 210 | linux: |
211 | | - if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'gpu-only') }} |
| 211 | + if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'optix-only') }} |
212 | 212 | name: "${{matrix.desc}}" |
213 | 213 | uses: ./.github/workflows/build-steps.yml |
214 | 214 | with: |
215 | 215 | nametag: ${{ matrix.nametag || 'unnamed!' }} |
216 | 216 | runner: ${{ matrix.runner || 'ubuntu-latest' }} |
217 | 217 | container: ${{ matrix.container }} |
218 | | - container_options: ${{ matrix.container_options }} |
| 218 | + container_options: ${{ matrix.container_options || -e A=x }} |
219 | 219 | cc_compiler: ${{ matrix.cc_compiler || 'gcc' }} |
220 | 220 | cxx_compiler: ${{ matrix.cxx_compiler || 'g++' }} |
221 | 221 | cxx_std: ${{ matrix.cxx_std || '17' }} |
@@ -491,84 +491,15 @@ jobs: |
491 | 491 | CLANG_FORMAT_EXE=clang-format-17 |
492 | 492 |
|
493 | 493 |
|
494 | | - # linux-optix: |
495 | | - # if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'macos-only') }} |
496 | | - # name: "${{matrix.desc}}" |
497 | | - # uses: ./.github/workflows/build-steps.yml |
498 | | - # with: |
499 | | - # nametag: ${{ matrix.nametag || 'unnamed!' }} |
500 | | - # runner: ${{ matrix.runner || 'ubuntu-latest' }} |
501 | | - # container: ${{ matrix.container }} |
502 | | - # container_args: ${{ matrix.container_args }} |
503 | | - # cc_compiler: ${{ matrix.cc_compiler || 'gcc' }} |
504 | | - # cxx_compiler: ${{ matrix.cxx_compiler || 'g++' }} |
505 | | - # cxx_std: ${{ matrix.cxx_std || '17' }} |
506 | | - # build_type: ${{ matrix.build_type || 'Release' }} |
507 | | - # depcmds: ${{ matrix.depcmds }} |
508 | | - # extra_artifacts: ${{ matrix.extra_artifacts }} |
509 | | - # fmt_ver: ${{ matrix.fmt_ver }} |
510 | | - # opencolorio_ver: ${{ matrix.opencolorio_ver }} |
511 | | - # openexr_ver: ${{ matrix.openexr_ver }} |
512 | | - # openimageio_ver: ${{ matrix.openimageio_ver }} |
513 | | - # pybind11_ver: ${{ matrix.pybind11_ver }} |
514 | | - # python_ver: ${{ matrix.python_ver }} |
515 | | - # setenvs: ${{ matrix.setenvs }} |
516 | | - # simd: ${{ matrix.simd }} |
517 | | - # batched: ${{ matrix.batched }} |
518 | | - # skip_build: ${{ matrix.skip_build }} |
519 | | - # skip_tests: ${{ matrix.skip_tests }} |
520 | | - # abi_check: ${{ matrix.abi_check }} |
521 | | - # build_docs: ${{ matrix.build_docs }} |
522 | | - # generator: ${{ matrix.generator }} |
523 | | - # ctest_args: ${{ matrix.ctest_args }} |
524 | | - # ctest_test_timeout: ${{ matrix.ctest_test_timeout || '800' }} |
525 | | - # coverage: ${{ matrix.coverage || 0 }} |
526 | | - # sonar: ${{ matrix.sonar || 0 }} |
527 | | - # llvm_action_ver: ${{ matrix.llvm_action_ver }} |
528 | | - # clang_format: ${{ matrix.clang_format }} |
529 | | - # strategy: |
530 | | - # fail-fast: false |
531 | | - # matrix: |
532 | | - # include: |
533 | | - # # - desc: VP2023 GPU Cuda11 gcc11/C++17 llvm15 py3.10 OIIO-main avx2 |
534 | | - # # nametag: linux-optix7-2023 |
535 | | - # # runner: ubuntu-latest |
536 | | - # # container: aswftesting/ci-osl:2023-clang15 |
537 | | - # # cxx_std: 17 |
538 | | - # # openimageio_ver: main |
539 | | - # # python_ver: "3.10" |
540 | | - # # pybind11_ver: v2.10.0 |
541 | | - # # simd: avx2,f16c |
542 | | - # # skip_tests: 1 |
543 | | - # # setenvs: export OSL_CMAKE_FLAGS="-DOSL_USE_OPTIX=1" |
544 | | - # # OPTIX_VERSION=7.0.0 |
545 | | - # # OPENIMAGEIO_CMAKE_FLAGS=-DBUILD_FMT_VERSION=9.1.0 |
546 | | - # - desc: VP2025 gcc11/C++17 llvm19 py3.11 oiio-rel avx2 |
547 | | - # nametag: linux-optix-vfx2025 |
548 | | - # runner: ${{ (github.repository_owner == 'AcademySoftwareFoundation' && 'ubuntu-20.04-gpu-t4-4c-16g-176h') || 'ubuntu-latest' }} |
549 | | - # # runner: ${{ (github.repository_owner == 'AcademySoftwareFoundation' && 'ubuntu-22.04-8c-32g-300h') || 'ubuntu-latest' }} |
550 | | - # container: aswf/ci-osl:2025 |
551 | | - # # container_options: --gpus all,capabilities=compute,utility |
552 | | - # cxx_std: 17 |
553 | | - # # openimageio_ver: release |
554 | | - # python_ver: "3.11" |
555 | | - # pybind11_ver: v2.11.1 |
556 | | - # simd: avx2,f16c |
557 | | - # setenvs: export OSL_CMAKE_FLAGS="-DOSL_USE_OPTIX=1" |
558 | | - # OPTIX_VERSION=9.0.0 |
559 | | - # OPENIMAGEIO_CMAKE_FLAGS=-DBUILD_FMT_VERSION=9.1.0 |
560 | | - # # setenvs: export CONAN_PACKAGES="ptex/2.4.2@aswf/vfx2024" |
561 | | - |
562 | | - |
563 | 494 | macos: |
564 | | - if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'linux-only') && ! contains(github.ref, 'gpu-only') }} |
| 495 | + if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'linux-only') && ! contains(github.ref, 'optix-only') }} |
565 | 496 | name: "${{matrix.desc}}" |
566 | 497 | uses: ./.github/workflows/build-steps.yml |
567 | 498 | with: |
568 | 499 | nametag: ${{ matrix.nametag || 'unnamed!' }} |
569 | 500 | runner: ${{ matrix.runner }} |
570 | 501 | container: ${{ matrix.container }} |
571 | | - container_options: ${{ matrix.container_options }} |
| 502 | + container_options: ${{ matrix.container_options || -e A=x }} |
572 | 503 | cc_compiler: ${{ matrix.cc_compiler || 'clang' }} |
573 | 504 | cxx_compiler: ${{ matrix.cxx_compiler || 'clang++' }} |
574 | 505 | cxx_std: ${{ matrix.cxx_std || '17' }} |
@@ -631,14 +562,14 @@ jobs: |
631 | 562 |
|
632 | 563 |
|
633 | 564 | windows: |
634 | | - if: ${{ ! contains(github.ref, 'linux-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'gpu-only') }} |
| 565 | + if: ${{ ! contains(github.ref, 'linux-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'optix-only') }} |
635 | 566 | name: "${{matrix.desc}}" |
636 | 567 | uses: ./.github/workflows/build-steps.yml |
637 | 568 | with: |
638 | 569 | nametag: ${{ matrix.nametag || 'unnamed!' }} |
639 | 570 | runner: ${{ matrix.runner }} |
640 | 571 | container: ${{ matrix.container }} |
641 | | - container_options: ${{ matrix.container_options }} |
| 572 | + container_options: ${{ matrix.container_options || -e A=x }} |
642 | 573 | cc_compiler: ${{ matrix.cc_compiler }} |
643 | 574 | cxx_compiler: ${{ matrix.cxx_compiler }} |
644 | 575 | cxx_std: ${{ matrix.cxx_std || '17' }} |
@@ -711,58 +642,3 @@ jobs: |
711 | 642 | OSL_CMAKE_FLAGS="-DUSE_LLVM_BTCODE=ON" |
712 | 643 | PUGIXML_VERSION=v1.14 |
713 | 644 | OpenImageIO_BUILD_MISSING_DEPS="Freetype;TIFF;libdeflate;libjpeg-turbo" |
714 | | - |
715 | | - |
716 | | - |
717 | | - |
718 | | - linux-optix: |
719 | | - if: ${{ ! contains(github.ref, 'windows-only') && ! contains(github.ref, 'macos-only') }} |
720 | | - name: "${{matrix.desc}}" |
721 | | - uses: ./.github/workflows/build-steps.yml |
722 | | - with: |
723 | | - nametag: ${{ matrix.nametag || 'unnamed!' }} |
724 | | - runner: ${{ matrix.runner || 'ubuntu-latest' }} |
725 | | - container: ${{ matrix.container }} |
726 | | - container_options: ${{ matrix.container_options }} |
727 | | - cc_compiler: ${{ matrix.cc_compiler || 'gcc' }} |
728 | | - cxx_compiler: ${{ matrix.cxx_compiler || 'g++' }} |
729 | | - cxx_std: ${{ matrix.cxx_std || '17' }} |
730 | | - build_type: ${{ matrix.build_type || 'Release' }} |
731 | | - depcmds: ${{ matrix.depcmds }} |
732 | | - extra_artifacts: ${{ matrix.extra_artifacts }} |
733 | | - fmt_ver: ${{ matrix.fmt_ver }} |
734 | | - opencolorio_ver: ${{ matrix.opencolorio_ver }} |
735 | | - openexr_ver: ${{ matrix.openexr_ver }} |
736 | | - openimageio_ver: ${{ matrix.openimageio_ver }} |
737 | | - pybind11_ver: ${{ matrix.pybind11_ver }} |
738 | | - python_ver: ${{ matrix.python_ver }} |
739 | | - setenvs: ${{ matrix.setenvs }} |
740 | | - simd: ${{ matrix.simd }} |
741 | | - batched: ${{ matrix.batched }} |
742 | | - skip_build: ${{ matrix.skip_build }} |
743 | | - skip_tests: ${{ matrix.skip_tests }} |
744 | | - abi_check: ${{ matrix.abi_check }} |
745 | | - build_docs: ${{ matrix.build_docs }} |
746 | | - generator: ${{ matrix.generator }} |
747 | | - ctest_args: ${{ matrix.ctest_args }} |
748 | | - ctest_test_timeout: ${{ matrix.ctest_test_timeout || '800' }} |
749 | | - coverage: ${{ matrix.coverage || 0 }} |
750 | | - sonar: ${{ matrix.sonar || 0 }} |
751 | | - llvm_action_ver: ${{ matrix.llvm_action_ver }} |
752 | | - clang_format: ${{ matrix.clang_format }} |
753 | | - strategy: |
754 | | - fail-fast: false |
755 | | - matrix: |
756 | | - include: |
757 | | - - desc: OptiX VP2025 gcc11/C++17 llvm19 py3.11 oiio-rel avx2 |
758 | | - nametag: linux-optix-vfx2025 |
759 | | - runner: ${{ (github.repository_owner == 'AcademySoftwareFoundation' && 'ubuntu-20.04-gpu-t4-4c-16g-176h') || 'ubuntu-latest' }} |
760 | | - container: aswf/ci-osl:2025 |
761 | | - container_options: -e NVIDIA_DRIVER_CAPABILITIES=compute,graphics,utility --gpus all |
762 | | - cxx_std: 17 |
763 | | - python_ver: "3.11" |
764 | | - pybind11_ver: v2.11.1 |
765 | | - simd: avx2,f16c |
766 | | - setenvs: export OSL_CMAKE_FLAGS="-DOSL_USE_OPTIX=1" |
767 | | - OPTIX_VERSION=8.0.0 |
768 | | - OPENIMAGEIO_CMAKE_FLAGS=-DBUILD_FMT_VERSION=9.1.0 |
0 commit comments