diff --git a/.github/workflows/ci_steps.yml b/.github/workflows/ci_steps.yml index b50620a60..af77e89d7 100644 --- a/.github/workflows/ci_steps.yml +++ b/.github/workflows/ci_steps.yml @@ -74,19 +74,19 @@ jobs: - name: Install Imath # Pre-install Imath so the builds validate finding the external installation - if: ${{ inputs.OPENEXR_FORCE_INTERNAL_IMATH == 'OFF' }} + if: ${{ inputs.OPENEXR_FORCE_INTERNAL_IMATH == OFF }} run: share/ci/scripts/install_imath.sh main - name: Install libdeflate # Pre-install libdeflate so the builds validate finding the external installation - if: ${{ inputs.OPENEXR_FORCE_INTERNAL_DEFLATE == 'OFF' }} + if: ${{ inputs.OPENEXR_FORCE_INTERNAL_DEFLATE == OFF }} run: share/ci/scripts/install_libdeflate.sh master - name: Install help2man # TODO: this could go in the ASWF Linux docker # container. Also, it doesn't currently work for Windows, so # the windows builds have docs disabled. - if: ${{ inputs.OPENEXR_INSTALL_DOCS == 'ON' }} + if: ${{ inputs.OPENEXR_INSTALL_DOCS == ON }} run: share/ci/scripts/install_help2man.sh - name: Create build directories @@ -157,7 +157,7 @@ jobs: path: _build/${{ env.INSTALL_MANIFEST }} - name: Validate install - if: ${{ inputs.validate_install == 'ON' }} + if: ${{ inputs.validate_install == ON }} # Validate that the build has installed the proper files by comparing against the appropriate reference manifest run: | share/ci/scripts/validate_install.py "_build/$INSTALL_MANIFEST" "share/ci/install_manifest/$INSTALL_MANIFEST" diff --git a/.github/workflows/ci_workflow.yml b/.github/workflows/ci_workflow.yml index 22d9d749f..66784ea93 100644 --- a/.github/workflows/ci_workflow.yml +++ b/.github/workflows/ci_workflow.yml @@ -64,22 +64,22 @@ jobs: build: ${{ matrix.build }} # DockerHub: https://hub.docker.com/u/aswf # Source: https://github.com/AcademySoftwareFoundation/aswf-docker - container: aswf/ci-openexr:${{ matrix.vfx-cy || '2024' }} - cxx-standard: ${{ matrix.cxx-standard || '17' }} - cxx-compiler: ${{ matrix.cxx-compiler || 'g++' }} - cc-compiler: ${{ matrix.cc-compiler || 'gcc' }} - build-type: ${{ matrix.build-type || 'Release' }} - BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || 'ON' }} - OPENEXR_ENABLE_THREADING: ${{ matrix.OPENEXR_ENABLE_THREADING || 'ON' }} - OPENEXR_INSTALL_PKG_CONFIG: ${{ matrix.OPENEXR_INSTALL_PKG_CONFIG || 'ON' }} - OPENEXR_INSTALL_DOCS: ${{ matrix.OPENEXR_INSTALL_DOCS || 'ON' }} - OPENEXR_BUILD_EXAMPLES: ${{ matrix.OPENEXR_BUILD_EXAMPLES || 'ON' }} - OPENEXR_BUILD_TOOLS: ${{ matrix.OPENEXR_BUILD_TOOLS || 'ON' }} - OPENEXR_FORCE_INTERNAL_IMATH: ${{ matrix.OPENEXR_FORCE_INTERNAL_IMATH || 'OFF' }} - OPENEXR_FORCE_INTERNAL_DEFLATE: ${{ matrix.OPENEXR_FORCE_INTERNAL_DEFLATE || 'OFF' }} - BUILD_TESTING: ${{ matrix.BUILD_TESTING || 'ON' }} + container: aswf/ci-openexr:${{ matrix.vfx-cy || 2024 }} + cxx-standard: ${{ matrix.cxx-standard || 17 }} + cxx-compiler: ${{ matrix.cxx-compiler || g++ }} + cc-compiler: ${{ matrix.cc-compiler || gcc }} + build-type: ${{ matrix.build-type || Release }} + BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || ON }} + OPENEXR_ENABLE_THREADING: ${{ matrix.OPENEXR_ENABLE_THREADING || ON }} + OPENEXR_INSTALL_PKG_CONFIG: ${{ matrix.OPENEXR_INSTALL_PKG_CONFIG || ON }} + OPENEXR_INSTALL_DOCS: ${{ matrix.OPENEXR_INSTALL_DOCS || ON }} + OPENEXR_BUILD_EXAMPLES: ${{ matrix.OPENEXR_BUILD_EXAMPLES || ON }} + OPENEXR_BUILD_TOOLS: ${{ matrix.OPENEXR_BUILD_TOOLS || ON }} + OPENEXR_FORCE_INTERNAL_IMATH: ${{ matrix.OPENEXR_FORCE_INTERNAL_IMATH || OFF }} + OPENEXR_FORCE_INTERNAL_DEFLATE: ${{ matrix.OPENEXR_FORCE_INTERNAL_DEFLATE || OFF }} + BUILD_TESTING: ${{ matrix.BUILD_TESTING || ON }} namespace: ${{ matrix.namespace }} - validate_install: ${{ matrix.validate_install || 'ON' }} + validate_install: ${{ matrix.validate_install || ON }} strategy: matrix: include: @@ -93,21 +93,21 @@ jobs: - build: 3 label: static - BUILD_SHARED_LIBS: 'OFF' + BUILD_SHARED_LIBS: OFF - build: 4 label: threads=OFF - OPENEXR_ENABLE_THREADING: 'OFF' + OPENEXR_ENABLE_THREADING: OFF - build: 5 label: pkgconfig=OFF, examples=OFF, tools=OFF, docs=OFF, internal deflate - OPENEXR_INSTALL_PKG_CONFIG: 'OFF' - OPENEXR_INSTALL_DOCS: 'OFF' - OPENEXR_BUILD_EXAMPLES: 'OFF' - OPENEXR_BUILD_TOOLS: 'OFF' - OPENEXR_FORCE_INTERNAL_IMATH: 'ON' - OPENEXR_FORCE_INTERNAL_DEFLATE: 'ON' - BUILD_TESTING: 'OFF' + OPENEXR_INSTALL_PKG_CONFIG: OFF + OPENEXR_INSTALL_DOCS: OFF + OPENEXR_BUILD_EXAMPLES: OFF + OPENEXR_BUILD_TOOLS: OFF + OPENEXR_FORCE_INTERNAL_IMATH: ON + OPENEXR_FORCE_INTERNAL_DEFLATE: ON + BUILD_TESTING: OFF - build: 6 label: custom namespace @@ -137,20 +137,20 @@ jobs: # Set values for the "inputs:" as defined in ci_steps.yml # Note the defaults provided here for the builds that don't specify # values. - os: ${{ matrix.os || 'macos-14' }} + os: ${{ matrix.os || macos-14 }} build: ${{ matrix.build }} - cxx-standard: ${{ matrix.cxx-standard || '17' }} - build-type: ${{ matrix.build-type || 'Release' }} - BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || 'ON' }} - OPENEXR_ENABLE_THREADING: ${{ matrix.OPENEXR_ENABLE_THREADING || 'ON' }} - OPENEXR_INSTALL_PKG_CONFIG: ${{ matrix.OPENEXR_INSTALL_PKG_CONFIG || 'ON' }} - OPENEXR_INSTALL_DOCS: ${{ matrix.OPENEXR_INSTALL_DOCS || 'ON' }} - OPENEXR_BUILD_EXAMPLES: ${{ matrix.OPENEXR_BUILD_EXAMPLES || 'ON' }} - OPENEXR_BUILD_TOOLS: ${{ matrix.OPENEXR_BUILD_TOOLS || 'ON' }} - OPENEXR_FORCE_INTERNAL_IMATH: ${{ matrix.OPENEXR_FORCE_INTERNAL_IMATH || 'OFF' }} - OPENEXR_FORCE_INTERNAL_DEFLATE: ${{ matrix.OPENEXR_FORCE_INTERNAL_DEFLATE || 'OFF' }} - BUILD_TESTING: ${{ matrix.BUILD_TESTING || 'ON' }} - validate_install: ${{ matrix.validate_install || 'ON' }} + cxx-standard: ${{ matrix.cxx-standard || 17 }} + build-type: ${{ matrix.build-type || Release }} + BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || ON }} + OPENEXR_ENABLE_THREADING: ${{ matrix.OPENEXR_ENABLE_THREADING || ON }} + OPENEXR_INSTALL_PKG_CONFIG: ${{ matrix.OPENEXR_INSTALL_PKG_CONFIG || ON }} + OPENEXR_INSTALL_DOCS: ${{ matrix.OPENEXR_INSTALL_DOCS || ON }} + OPENEXR_BUILD_EXAMPLES: ${{ matrix.OPENEXR_BUILD_EXAMPLES || ON }} + OPENEXR_BUILD_TOOLS: ${{ matrix.OPENEXR_BUILD_TOOLS || ON }} + OPENEXR_FORCE_INTERNAL_IMATH: ${{ matrix.OPENEXR_FORCE_INTERNAL_IMATH || OFF }} + OPENEXR_FORCE_INTERNAL_DEFLATE: ${{ matrix.OPENEXR_FORCE_INTERNAL_DEFLATE || OFF }} + BUILD_TESTING: ${{ matrix.BUILD_TESTING || ON }} + validate_install: ${{ matrix.validate_install || ON }} strategy: matrix: include: @@ -164,21 +164,21 @@ jobs: - build: 3 label: static - BUILD_SHARED_LIBS: 'OFF' + BUILD_SHARED_LIBS: OFF - build: 4 label: threads=OFF - OPENEXR_ENABLE_THREADING: 'OFF' + OPENEXR_ENABLE_THREADING: OFF - build: 5 label: pkgconfig=OFF, examples=OFF, tools=OFF, docs=OFF, internal imath+deflate - OPENEXR_INSTALL_PKG_CONFIG: 'OFF' - OPENEXR_INSTALL_DOCS: 'OFF' - OPENEXR_BUILD_EXAMPLES: 'OFF' - OPENEXR_BUILD_TOOLS: 'OFF' - OPENEXR_FORCE_INTERNAL_IMATH: 'ON' - OPENEXR_FORCE_INTERNAL_DEFLATE: 'ON' - BUILD_TESTING: 'OFF' + OPENEXR_INSTALL_PKG_CONFIG: OFF + OPENEXR_INSTALL_DOCS: OFF + OPENEXR_BUILD_EXAMPLES: OFF + OPENEXR_BUILD_TOOLS: OFF + OPENEXR_FORCE_INTERNAL_IMATH: ON + OPENEXR_FORCE_INTERNAL_DEFLATE: ON + BUILD_TESTING: OFF - build: 6 label: macos-13 @@ -191,20 +191,20 @@ jobs: # Set values for the "inputs:" as defined in ci_steps.yml # Note the defaults provided here for the builds that don't specify # values. - os: ${{ matrix.os || 'windows-2022' }} + os: ${{ matrix.os || windows-2022 }} build: ${{ matrix.build }} - cxx-standard: ${{ matrix.cxx-standard || '17' }} - build-type: ${{ matrix.build-type || 'Release' }} - BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || 'ON' }} - OPENEXR_ENABLE_THREADING: ${{ matrix.OPENEXR_ENABLE_THREADING || 'ON' }} - OPENEXR_INSTALL_PKG_CONFIG: ${{ matrix.OPENEXR_INSTALL_PKG_CONFIG || 'ON' }} - OPENEXR_INSTALL_DOCS: ${{ matrix.OPENEXR_INSTALL_DOCS || 'OFF' }} - OPENEXR_BUILD_EXAMPLES: ${{ matrix.OPENEXR_BUILD_EXAMPLES || 'ON' }} - OPENEXR_BUILD_TOOLS: ${{ matrix.OPENEXR_BUILD_TOOLS || 'ON' }} - OPENEXR_FORCE_INTERNAL_IMATH: ${{ matrix.OPENEXR_FORCE_INTERNAL_IMATH || 'OFF' }} - OPENEXR_FORCE_INTERNAL_DEFLATE: ${{ matrix.OPENEXR_FORCE_INTERNAL_DEFLATE || 'OFF' }} - BUILD_TESTING: ${{ matrix.BUILD_TESTING || 'ON' }} - validate_install: ${{ matrix.validate_install || 'ON' }} + cxx-standard: ${{ matrix.cxx-standard || 17 }} + build-type: ${{ matrix.build-type || Release }} + BUILD_SHARED_LIBS: ${{ matrix.BUILD_SHARED_LIBS || ON }} + OPENEXR_ENABLE_THREADING: ${{ matrix.OPENEXR_ENABLE_THREADING || ON }} + OPENEXR_INSTALL_PKG_CONFIG: ${{ matrix.OPENEXR_INSTALL_PKG_CONFIG || ON }} + OPENEXR_INSTALL_DOCS: ${{ matrix.OPENEXR_INSTALL_DOCS || OFF }} + OPENEXR_BUILD_EXAMPLES: ${{ matrix.OPENEXR_BUILD_EXAMPLES || ON }} + OPENEXR_BUILD_TOOLS: ${{ matrix.OPENEXR_BUILD_TOOLS || ON }} + OPENEXR_FORCE_INTERNAL_IMATH: ${{ matrix.OPENEXR_FORCE_INTERNAL_IMATH || OFF }} + OPENEXR_FORCE_INTERNAL_DEFLATE: ${{ matrix.OPENEXR_FORCE_INTERNAL_DEFLATE || OFF }} + BUILD_TESTING: ${{ matrix.BUILD_TESTING || ON }} + validate_install: ${{ matrix.validate_install || ON }} strategy: matrix: include: @@ -217,22 +217,22 @@ jobs: - build: 3 label: static - BUILD_SHARED_LIBS: 'OFF' + BUILD_SHARED_LIBS: OFF - build: 4 label: threads=OFF # TODO: this currently fails to compile; switch to OFF once the fix is in. - OPENEXR_ENABLE_THREADING: 'ON' + OPENEXR_ENABLE_THREADING: ON - build: 5 label: pkgconfig=OFF, examples=OFF, tools=OFF, docs=OFF, internal imath+deflate - OPENEXR_INSTALL_PKG_CONFIG: 'OFF' - OPENEXR_INSTALL_DOCS: 'OFF' - OPENEXR_BUILD_EXAMPLES: 'OFF' - OPENEXR_BUILD_TOOLS: 'OFF' - OPENEXR_FORCE_INTERNAL_IMATH: 'ON' - OPENEXR_FORCE_INTERNAL_DEFLATE: 'ON' - BUILD_TESTING: 'OFF' + OPENEXR_INSTALL_PKG_CONFIG: OFF + OPENEXR_INSTALL_DOCS: OFF + OPENEXR_BUILD_EXAMPLES: OFF + OPENEXR_BUILD_TOOLS: OFF + OPENEXR_FORCE_INTERNAL_IMATH: ON + OPENEXR_FORCE_INTERNAL_DEFLATE: ON + BUILD_TESTING: OFF - build: 6 label: vfx2022