Skip to content

Commit

Permalink
manifest
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Nov 18, 2024
1 parent 540e1e1 commit a7b60e9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: mkdir _install _build _examples
shell: bash

- name: Construct CMake command and save it to environment
- name: Construct CMake command
run: |
CMAKE_COMMAND="cmake -B . -S .. \
-DCMAKE_INSTALL_PREFIX=../_install \
Expand All @@ -88,6 +88,7 @@ jobs:
-DOPENEXR_RUN_FUZZ_TESTS='OFF' \
-DCMAKE_VERBOSE_MAKEFILE='ON'"
echo "CMAKE_COMMAND=$CMAKE_COMMAND" >> $GITHUB_ENV
echo "INSTALL_MANIFEST=_build/install_manifest.${{ inputs.os }}.${{ inputs.build }}.txt" >> $GITHUB_ENV
working-directory: _build
shell: bash

Expand All @@ -104,6 +105,18 @@ jobs:
working-directory: _build
shell: bash

- name: Prepare install_manifest
run: |
echo "# $CMAKE_COMMAND" > $INSTALL_MANIFEST
sort _build/install_manifest.txt | sed -e "s:^.*/_install/::" -e ":lib64/:lib/:" >> $INSTALL_MANIFEST
shell: bash

- name: Upload $INSTALL_MANIFEST
uses: actions/upload-artifact@v3
with:
name: install_manifest
path: $INSTALL_MANIFEST

- name: Set PATH for Imath/libdeflate DLLs
if: contains(inputs.os, 'windows')
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
vfx-cy: 2021

macOS:
if: false
name: 'macOS.${{ matrix.build}}: ${{ matrix.label }}'
uses: ./.github/workflows/ci_steps.yml
with:
Expand Down Expand Up @@ -163,6 +164,7 @@ jobs:
os: macos-12

windows:
if: false
name: 'Windows.${{ matrix.build}}: ${{ matrix.label }}'
uses: ./.github/workflows/ci_steps.yml
with:
Expand Down

0 comments on commit a7b60e9

Please sign in to comment.