Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
b09c380
Implementation of ocio_find_package and ocio_install_package macro.
cedrik-fuoco-adsk Jan 24, 2023
56a671a
Removing a duplicate call to set_property in OpenImageIO find module.
cedrik-fuoco-adsk Jan 25, 2023
0a86c31
Fixed an issue with FindOpenImageIO that was found while testing on m…
cedrik-fuoco-adsk Jan 26, 2023
cd47a1b
Fixing typo
cedrik-fuoco-adsk Jan 27, 2023
dd04b45
Renamed ocio_find_package to ocio_handle_dependency
cedrik-fuoco-adsk Feb 1, 2023
4e4dbf2
Changed prefix for ocio_install_dependency since it was conflicting w…
cedrik-fuoco-adsk Feb 2, 2023
be2dabe
Mostly comments and documentations
cedrik-fuoco-adsk Feb 2, 2023
f45ac54
Small update of the Existing Install Hints section
cedrik-fuoco-adsk Feb 2, 2023
fb30c9d
Changed RECOMMENDED_MIN_VERSION to RECOMMENDED_VERSION
cedrik-fuoco-adsk Feb 3, 2023
669b2a6
Fixing issue with ocio_handle_dependency macro where it wasn't respec…
cedrik-fuoco-adsk Feb 3, 2023
76157e3
Adding more documentations and dropping support to look for static zl…
cedrik-fuoco-adsk Feb 8, 2023
8f2f41a
Documentations
cedrik-fuoco-adsk Feb 20, 2023
a4f78c5
Documentations
cedrik-fuoco-adsk Feb 22, 2023
2019486
fixing typo
cedrik-fuoco-adsk Feb 23, 2023
39e1c67
Fix typoe and fix issue when OCIO is installing ZLIB
cedrik-fuoco-adsk Mar 7, 2023
3797a92
Update CI workflows (#1770)
remia Mar 9, 2023
f651a1a
Adsk Contrib - Allow PyOpenColorIO module to load DLLs from Windows P…
cedrik-fuoco-adsk Mar 9, 2023
9d572cf
Changing the build type check to be case-insensitive (#1765)
cedrik-fuoco-adsk Mar 9, 2023
9068294
Add the PROMOTE_TARGET to ocio_install_dependency to support a case w…
cedrik-fuoco-adsk Mar 9, 2023
2ccc412
Implementation of ocio_find_package and ocio_install_package macro.
cedrik-fuoco-adsk Jan 24, 2023
95bcc70
Removing a duplicate call to set_property in OpenImageIO find module.
cedrik-fuoco-adsk Jan 25, 2023
bd9504c
Fixed an issue with FindOpenImageIO that was found while testing on m…
cedrik-fuoco-adsk Jan 26, 2023
4dec235
Fixing typo
cedrik-fuoco-adsk Jan 27, 2023
634bff0
Renamed ocio_find_package to ocio_handle_dependency
cedrik-fuoco-adsk Feb 1, 2023
8c65854
Changed prefix for ocio_install_dependency since it was conflicting w…
cedrik-fuoco-adsk Feb 2, 2023
0a0d33a
Mostly comments and documentations
cedrik-fuoco-adsk Feb 2, 2023
649e674
Small update of the Existing Install Hints section
cedrik-fuoco-adsk Feb 2, 2023
7f22813
Changed RECOMMENDED_MIN_VERSION to RECOMMENDED_VERSION
cedrik-fuoco-adsk Feb 3, 2023
53d89a4
Fixing issue with ocio_handle_dependency macro where it wasn't respec…
cedrik-fuoco-adsk Feb 3, 2023
af595f2
Adding more documentations and dropping support to look for static zl…
cedrik-fuoco-adsk Feb 8, 2023
9ff994e
Documentations
cedrik-fuoco-adsk Feb 20, 2023
cc5aa65
Documentations
cedrik-fuoco-adsk Feb 22, 2023
22b12cf
fixing typo
cedrik-fuoco-adsk Feb 23, 2023
e7c593c
Fix typoe and fix issue when OCIO is installing ZLIB
cedrik-fuoco-adsk Mar 7, 2023
1d9b173
Add the PROMOTE_TARGET to ocio_install_dependency to support a case w…
cedrik-fuoco-adsk Mar 9, 2023
9868861
Merge branch 'adsk_contrib/add-support-for-minimum-and-recommended-ve…
cedrik-fuoco-adsk Mar 9, 2023
bb7e626
Implementation of ocio_find_package and ocio_install_package macro.
cedrik-fuoco-adsk Jan 24, 2023
84dea1b
Removing a duplicate call to set_property in OpenImageIO find module.
cedrik-fuoco-adsk Jan 25, 2023
aad9485
Fixed an issue with FindOpenImageIO that was found while testing on m…
cedrik-fuoco-adsk Jan 26, 2023
912c9d6
Fixing typo
cedrik-fuoco-adsk Jan 27, 2023
70e0f0f
Renamed ocio_find_package to ocio_handle_dependency
cedrik-fuoco-adsk Feb 1, 2023
6dd3a5a
Changed prefix for ocio_install_dependency since it was conflicting w…
cedrik-fuoco-adsk Feb 2, 2023
f851ae5
Mostly comments and documentations
cedrik-fuoco-adsk Feb 2, 2023
376522f
Small update of the Existing Install Hints section
cedrik-fuoco-adsk Feb 2, 2023
8e0d5f9
Changed RECOMMENDED_MIN_VERSION to RECOMMENDED_VERSION
cedrik-fuoco-adsk Feb 3, 2023
7faf3d5
Fixing issue with ocio_handle_dependency macro where it wasn't respec…
cedrik-fuoco-adsk Feb 3, 2023
462a10f
Adding more documentations and dropping support to look for static zl…
cedrik-fuoco-adsk Feb 8, 2023
3c31486
Documentations
cedrik-fuoco-adsk Feb 20, 2023
9f4baf7
Documentations
cedrik-fuoco-adsk Feb 22, 2023
040e2b3
fixing typo
cedrik-fuoco-adsk Feb 23, 2023
67af4e0
Fix typoe and fix issue when OCIO is installing ZLIB
cedrik-fuoco-adsk Mar 7, 2023
c1a30d2
Add the PROMOTE_TARGET to ocio_install_dependency to support a case w…
cedrik-fuoco-adsk Mar 9, 2023
47516d7
Merge branch 'adsk_contrib/add-support-for-minimum-and-recommended-ve…
cedrik-fuoco-adsk Mar 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
375 changes: 0 additions & 375 deletions .github/workflows/analysis_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,381 +22,6 @@ on:
- cron: "0 0 * * *"

jobs:
# ---------------------------------------------------------------------------
# Linux latest ext packages
# ---------------------------------------------------------------------------

linux_latest:
name: 'Linux CentOS 7 VFX CY${{ matrix.vfx-cy }} latest
<${{ matrix.compiler-desc }}
cxx=${{ matrix.cxx-standard }},
docs=${{ matrix.build-docs }}>'
# Don't run on OCIO forks
if: github.repository == 'AcademySoftwareFoundation/OpenColorIO'
# GH-hosted VM. The build runs in CentOS 7 'container' defined below.
runs-on: ubuntu-latest
container:
# DockerHub: https://hub.docker.com/u/aswf
# Source: https://github.com/AcademySoftwareFoundation/aswf-docker
image: aswf/ci-base:${{ matrix.vfx-cy }}
strategy:
matrix:
build: [1, 2, 3, 4]
include:
# -------------------------------------------------------------------
# GCC
# -------------------------------------------------------------------
# VFX CY2022, C++17, docs, OpenFX
- build: 1
build-docs: 'ON'
build-openfx: 'ON'
cxx-standard: 17
cxx-compiler: g++
cc-compiler: gcc
compiler-desc: GCC 9.3.1
vfx-cy: 2022
# VFX CY2021, C++14
- build: 2
build-docs: 'OFF'
build-openfx: 'OFF'
cxx-standard: 14
cxx-compiler: g++
cc-compiler: gcc
compiler-desc: GCC 9.3.1
vfx-cy: 2021
# -------------------------------------------------------------------
# Clang
# -------------------------------------------------------------------
# VFX CY2022, C++17
- build: 3
build-docs: 'OFF'
build-openfx: 'OFF'
cxx-standard: 17
cxx-compiler: clang++
cc-compiler: clang
compiler-desc: Clang 9
vfx-cy: 2022
# VFX CY2021, C++14, docs, OpenFX
- build: 4
build-docs: 'ON'
build-openfx: 'ON'
cxx-standard: 14
cxx-compiler: clang++
cc-compiler: clang
compiler-desc: Clang 9
vfx-cy: 2021
env:
CXX: ${{ matrix.cxx-compiler }}
CC: ${{ matrix.cc-compiler }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install docs env
run: share/ci/scripts/linux/yum/install_docs_env.sh
if: matrix.build-docs == 'ON'
- name: Install tests env
run: share/ci/scripts/linux/yum/install_tests_env.sh
- name: Setup ext environment
run: |
EXT_PATH=/usr/local
echo "EXT_PATH=$EXT_PATH" >> $GITHUB_ENV
- name: Install indirect dependencies
run: |
share/ci/scripts/multi/install_pugixml.sh latest
- name: Install fixed ext package versions
# Minizip-ng depends on ZLIB. ZLIB must be installed first.
run: |
share/ci/scripts/multi/install_expat.sh 2.4.1 $EXT_PATH
share/ci/scripts/multi/install_lcms2.sh 2.2 $EXT_PATH
share/ci/scripts/multi/install_yaml-cpp.sh 0.7.0 $EXT_PATH
share/ci/scripts/multi/install_pystring.sh 1.1.3 $EXT_PATH
share/ci/scripts/multi/install_pybind11.sh 2.9.2 $EXT_PATH
share/ci/scripts/multi/install_zlib.sh 1.2.12 $EXT_PATH
share/ci/scripts/multi/install_minizip-ng.sh 3.0.6 $EXT_PATH
- name: Install latest ext package versions
run: |
share/ci/scripts/multi/install_imath.sh latest $EXT_PATH
share/ci/scripts/multi/install_openexr.sh latest $EXT_PATH
share/ci/scripts/multi/install_oiio.sh latest $EXT_PATH
share/ci/scripts/multi/install_osl.sh latest $EXT_PATH
share/ci/scripts/multi/install_openfx.sh latest $EXT_PATH
- name: Create build directories
run: |
mkdir _install
mkdir _build
- name: Configure
run: |
cmake ../. \
-DCMAKE_INSTALL_PREFIX=../_install \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=${{ matrix.cxx-standard }} \
-DOCIO_BUILD_DOCS=${{ matrix.build-docs }} \
-DOCIO_BUILD_OPENFX=${{ matrix.build-openfx }} \
-DOCIO_BUILD_GPU_TESTS=OFF \
-DOCIO_INSTALL_EXT_PACKAGES=NONE \
-DOCIO_WARNING_AS_ERROR=OFF \
-DPython_EXECUTABLE=$(which python) \
-DOCIO_USE_OIIO_CMAKE_CONFIG=ON
working-directory: _build
- name: Build
run: |
cmake --build . \
--target install \
--config Release \
-- -j$(nproc)
working-directory: _build
- name: Test
run: ctest -V -C Release
working-directory: _build
- name: Test CMake Consumer
run: |
cmake . \
-DCMAKE_PREFIX_PATH=../../../_install \
-DCMAKE_BUILD_TYPE=Release
cmake --build . \
--config Release
./consumer
working-directory: _build/tests/cmake-consumer-dist

# ---------------------------------------------------------------------------
# MacOS latest ext packages
# ---------------------------------------------------------------------------

macos-latest:
name: 'macOS latest
<AppleClang 12.0
cxx=${{ matrix.cxx-standard }},
docs=${{ matrix.build-docs }},
python=${{ matrix.python-version }}>'
# Don't run on OCIO forks
if: github.repository == 'AcademySoftwareFoundation/OpenColorIO'
runs-on: macos-latest
strategy:
matrix:
build: [1, 2]
include:
# C++17
- build: 1
build-docs: 'ON'
build-openfx: 'ON'
cxx-standard: 17
python-version: 3.9
# C++14
- build: 2
build-docs: 'ON'
build-openfx: 'ON'
cxx-standard: 14
python-version: 3.9
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Checkout
uses: actions/checkout@v3
- name: Install docs env
run: share/ci/scripts/macos/install_docs_env.sh
if: matrix.build-docs == 'ON'
- name: Install tests env
run: share/ci/scripts/macos/install_tests_env.sh
- name: Setup ext environment
run: |
EXT_PATH=/usr/local
echo "EXT_PATH=$EXT_PATH" >> $GITHUB_ENV
- name: Install indirect dependencies
run: |
share/ci/scripts/macos/install_bison.sh latest
share/ci/scripts/macos/install_boost.sh latest
share/ci/scripts/multi/install_pugixml.sh latest $EXT_PATH
- name: Install fixed ext package versions
# Minizip-ng depends on ZLIB. ZLIB must be installed first.
run: |
share/ci/scripts/multi/install_expat.sh 2.4.1 $EXT_PATH
share/ci/scripts/multi/install_lcms2.sh 2.2 $EXT_PATH
share/ci/scripts/multi/install_yaml-cpp.sh 0.7.0 $EXT_PATH
share/ci/scripts/multi/install_pystring.sh 1.1.3 $EXT_PATH
share/ci/scripts/multi/install_pybind11.sh 2.9.2 $EXT_PATH
share/ci/scripts/multi/install_zlib.sh 1.2.12 $EXT_PATH
share/ci/scripts/multi/install_minizip-ng.sh 3.0.6 $EXT_PATH
- name: Install latest ext package versions
run: |
share/ci/scripts/multi/install_imath.sh latest $EXT_PATH
share/ci/scripts/multi/install_openexr.sh latest $EXT_PATH
share/ci/scripts/multi/install_oiio.sh latest $EXT_PATH
share/ci/scripts/multi/install_osl.sh latest $EXT_PATH
share/ci/scripts/multi/install_openfx.sh latest $EXT_PATH
- name: Create build directories
run: |
mkdir _install
mkdir _build
- name: Configure
run: |
cmake ../. \
-DCMAKE_INSTALL_PREFIX=../_install \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=${{ matrix.cxx-standard }} \
-DOCIO_BUILD_DOCS=${{ matrix.build-docs }} \
-DOCIO_BUILD_OPENFX=${{ matrix.build-openfx }} \
-DOCIO_BUILD_GPU_TESTS=OFF \
-DOCIO_INSTALL_EXT_PACKAGES=NONE \
-DOCIO_WARNING_AS_ERROR=OFF \
-DPython_EXECUTABLE=$(which python) \
-DOCIO_USE_OIIO_CMAKE_CONFIG=ON
working-directory: _build
- name: Build
run: |
cmake --build . \
--target install \
--config Release \
-- -j$(sysctl -n hw.ncpu)
working-directory: _build
- name: Test
run: ctest -V -C Release
working-directory: _build
- name: Test CMake Consumer
run: |
cmake . \
-DCMAKE_PREFIX_PATH=../../../_install \
-DCMAKE_BUILD_TYPE=Release
cmake --build . \
--config Release
./consumer
working-directory: _build/tests/cmake-consumer-dist


# ---------------------------------------------------------------------------
# Windows latest ext packages
# ---------------------------------------------------------------------------

windows-latest:
name: 'Windows latest
<MSVC
cxx=${{ matrix.cxx-standard }},
docs=${{ matrix.build-docs }},
python=${{ matrix.python-version }}>'
# Don't run on OCIO forks
if: github.repository == 'AcademySoftwareFoundation/OpenColorIO'
runs-on: windows-latest
strategy:
matrix:
build: [1, 2]
include:
# C++17
- build: 1
build-docs: 'ON'
build-openfx: 'ON'
cxx-standard: 17
python-version: 3.9
# C++14
- build: 2
build-docs: 'ON'
build-openfx: 'ON'
cxx-standard: 14
python-version: 3.9
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Checkout
uses: actions/checkout@v3
- name: Install docs env
run: share/ci/scripts/windows/install_docs_env.sh
shell: bash
if: matrix.build-docs == 'ON'
- name: Install tests env
run: share/ci/scripts/windows/install_tests_env.sh
shell: bash
- name: Setup ext environment
run: |
EXT_PATH=$GITHUB_WORKSPACE/_ext
VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT/installed/x64-windows
echo "EXT_PATH=$EXT_PATH" >> $GITHUB_ENV
echo "CMAKE_PREFIX_PATH=$VCPKG_ROOT;$EXT_PATH" >> $GITHUB_ENV
echo "$VCPKG_ROOT/bin" >> $GITHUB_PATH
echo "$EXT_PATH/bin" >> $GITHUB_PATH
mkdir $EXT_PATH
shell: bash
- name: Install indirect dependencies
run: |
vcpkg install zlib:x64-windows
vcpkg install tiff:x64-windows
vcpkg install boost-asio:x64-windows
vcpkg install boost-container:x64-windows
vcpkg install boost-filesystem:x64-windows
vcpkg install boost-math:x64-windows
vcpkg install boost-stacktrace:x64-windows
vcpkg install boost-system:x64-windows
vcpkg install boost-thread:x64-windows
share/ci/scripts/multi/install_pugixml.sh latest $EXT_PATH
shell: bash
- name: Install fixed ext package versions
# Minizip-ng depends on ZLIB. ZLIB must be installed first.
run: |
share/ci/scripts/multi/install_lcms2.sh 2.2 $EXT_PATH
share/ci/scripts/multi/install_yaml-cpp.sh 0.7.0 $EXT_PATH
share/ci/scripts/multi/install_pystring.sh 1.1.3 $EXT_PATH
share/ci/scripts/multi/install_pybind11.sh 2.9.2 $EXT_PATH
share/ci/scripts/multi/install_expat.sh 2.4.1 $EXT_PATH
share/ci/scripts/multi/install_zlib.sh 1.2.12 $EXT_PATH
share/ci/scripts/multi/install_minizip-ng.sh 3.0.6 $EXT_PATH
shell: bash
# OSL not installed due to LLVM compilation time.
- name: Install latest ext package versions
run: |
share/ci/scripts/multi/install_imath.sh latest $EXT_PATH
share/ci/scripts/multi/install_openexr.sh latest $EXT_PATH
share/ci/scripts/multi/install_oiio.sh latest $EXT_PATH
share/ci/scripts/multi/install_openfx.sh latest $EXT_PATH
shell: bash
- name: Create build directories
run: |
mkdir _install
mkdir _build
shell: bash
- name: Configure
run: |
cmake ../. \
-DCMAKE_INSTALL_PREFIX=../_install \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=${{ matrix.cxx-standard }} \
-DCMAKE_GENERATOR_PLATFORM=x64 \
-DOCIO_BUILD_DOCS=OFF \
-DOCIO_BUILD_OPENFX=${{ matrix.build-openfx }} \
-DOCIO_BUILD_GPU_TESTS=OFF \
-DOCIO_INSTALL_EXT_PACKAGES=NONE \
-DOCIO_WARNING_AS_ERROR=OFF \
-DPython_EXECUTABLE=$(which python) \
-DOCIO_BUILD_PYTHON=OFF \
-DOCIO_USE_OIIO_CMAKE_CONFIG=ON
shell: bash
working-directory: _build
- name: Build
run: |
cmake --build . \
--target install \
--config Release \
--parallel
shell: bash
working-directory: _build
- name: Test
run: |
ctest -V -C Release
shell: bash
working-directory: _build
- name: Test CMake Consumer
run: |
cmake . \
-DCMAKE_PREFIX_PATH=../../../_install \
-DCMAKE_BUILD_TYPE=Release
cmake --build . \
--config Release
export PATH=../../../_install/bin:$PATH
./Release/consumer
shell: bash
working-directory: _build/tests/cmake-consumer-dist


# ---------------------------------------------------------------------------
# SonarCloud static analysis
# ---------------------------------------------------------------------------
Expand Down
Loading