|
| 1 | +name: 'Blender with Intel GPU/SYCL' |
| 2 | +description: 'Build OIDN, Embree, and Blender with Intel GPU/SYCL support, then run classroom demo' |
| 3 | + |
| 4 | +inputs: |
| 5 | + workspace: |
| 6 | + description: 'Workspace directory for builds' |
| 7 | + required: false |
| 8 | + default: '${{ github.workspace }}' |
| 9 | + c_compiler: |
| 10 | + description: 'Path to C compiler' |
| 11 | + required: true |
| 12 | + cxx_compiler: |
| 13 | + description: 'Path to C++ compiler' |
| 14 | + required: true |
| 15 | + |
| 16 | +runs: |
| 17 | + using: "composite" |
| 18 | + steps: |
| 19 | + - name: Build OIDN |
| 20 | + uses: ./devops/actions/blender/oidn |
| 21 | + with: |
| 22 | + cmake_install_prefix: ${{ format('{0}/oidn-install', inputs.workspace) }} |
| 23 | + c_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang |
| 24 | + cxx_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++ |
| 25 | + |
| 26 | + # - name: Build Embree |
| 27 | + # uses: ./devops/actions/blender/embree |
| 28 | + # with: |
| 29 | + # cmake_install_prefix: ${{ format('{0}/embree-install', inputs.workspace) }} |
| 30 | + # c_compiler: ${{ inputs.c_compiler }} |
| 31 | + # cxx_compiler: ${{ inputs.cxx_compiler }} |
| 32 | + |
| 33 | + # - name: Build Blender |
| 34 | + # uses: ./devops/actions/blender/blender-build |
| 35 | + # with: |
| 36 | + # oidn_dir: ${{ format('{0}/oidn-install', inputs.workspace) }} |
| 37 | + # embree_dir: ${{ format('{0}/embree-install', inputs.workspace) }} |
| 38 | + # cmake_install_prefix: ${{ format('{0}/blender-install', inputs.workspace) }} |
| 39 | + # c_compiler: ${{ inputs.c_compiler }} |
| 40 | + # cxx_compiler: ${{ inputs.cxx_compiler }} |
| 41 | + |
| 42 | + # - name: Run Blender Classroom Demo |
| 43 | + # uses: ./devops/actions/blender/blender-demo |
| 44 | + # with: |
| 45 | + # blender_dir: ${{ format('{0}/blender-install', inputs.workspace) }} |
| 46 | + # oidn_dir: ${{ format('{0}/oidn-install', inputs.workspace) }} |
| 47 | + # embree_dir: ${{ format('{0}/embree-install', inputs.workspace) }} |
| 48 | + # output_dir: ${{ format('{0}/blender-output', inputs.workspace) }} |
0 commit comments