Skip to content

Commit

Permalink
ci: new tets: oldest, hobbled, localbuilds (#4295)
Browse files Browse the repository at this point in the history
Split the CI "oldest/hobbled" test into two different tests:

* oldest -- test against the oldest supported versions of all
dependencies.

* hobbled -- test against most optional dependencies missing and
optional feature disabled (including no SSE, no OCIO, etc.).

And add an additional test:

* local-builds -- a test that builds and uses every dependency that we
know how to build locally/automatically.

Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz authored Jun 16, 2024
1 parent d3c5d79 commit 59b5458
Showing 1 changed file with 37 additions and 5 deletions.
42 changes: 37 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@ jobs:
simd: "avx2,f16c"
fmt_ver: 10.1.1
pybind11_ver: v2.10.0
- desc: oldest/hobbled gcc9.3/C++17 py3.7 exr-3.1 no-sse no-ocio
# Oldest versions of the dependencies that we can muster, and various
# things disabled (no SSE, OCIO, or OpenCV, don't embed plugins).
- desc: oldest gcc9.3/C++17 py3.7 exr-3.1
# Oldest versions of the dependencies that we support.
nametag: linux-oldest
runner: ubuntu-latest
container: aswf/ci-osl:2021
Expand All @@ -160,6 +159,23 @@ jobs:
openexr_ver: v3.1.0
pybind11_ver: v2.4.2
python_ver: 3.7
setenvs: export CMAKE_VERSION=3.15.5
PTEX_VERSION=v2.3.2
WEBP_VERSION=v1.0.0
depcmds: sudo rm -rf /usr/local/include/OpenEXR
- desc: hobbled gcc9.3/C++17 py3.7 exr-3.1 no-sse no-ocio
# Use the oldest supported versions of required dependencies, and
# disable most optional dependencies and features (no SSE, OCIO,
# or OpenCV, don't embed plugins).
nametag: linux-disabled
runner: ubuntu-latest
container: aswf/ci-osl:2021
vfxyear: 2021
cxx_std: 17
fmt_ver: 7.0.1
openexr_ver: v3.1.0
pybind11_ver: v2.4.2
python_ver: 3.7
simd: 0
setenvs: export EMBEDPLUGINS=0
CMAKE_VERSION=3.15.5
Expand Down Expand Up @@ -298,10 +314,9 @@ jobs:
OPENJPEG_VERSION=v2.4.0
PTEX_VERSION=v2.4.2
PUGIXML_VERSION=v1.14
USE_OPENVDB=0
WEBP_VERSION=v1.3.0
FREETYPE_VERSION=VER-2-13-2
# The installed OpenVDB has a TLS conflict with Python 3.8
EXTRA_DEP_PACKAGES="libboost-dev"
- desc: bleeding edge gcc14 C++20 py3.12 OCIO/libtiff/exr-master avx2
nametag: linux-bleeding-edge
runner: ubuntu-24.04
Expand Down Expand Up @@ -333,6 +348,23 @@ jobs:
# addresses a job killing problem in the GHA Ubuntu
# 24.04 runners that cropped up circa May 29 2024. Maybe
# it will be fixed and we can do the update again later?
- desc: all local builds gcc12 C++17 avx2 exr3.2 ocio2.3
nametag: linux-local-builds
runner: ubuntu-22.04
cc_compiler: gcc-12
cxx_compiler: g++-12
cxx_std: 17
python_ver: "3.10"
simd: avx2,f16c
setenvs: export OpenImageIO_BUILD_LOCAL_DEPS=all
LIBJPEGTURBO_VERSION=3.0.1
LIBRAW_VERSION=0.21.2
OPENCOLORIO_VERSION=v2.3.2
OPENJPEG_VERSION=v2.4.0
PTEX_VERSION=v2.4.2
PUGIXML_VERSION=v1.14
WEBP_VERSION=v1.3.0
EXTRA_DEP_PACKAGES="libboost-dev"
- desc: clang14 C++20 avx2 exr3.1 ocio2.1
nametag: linux-clang14
runner: ubuntu-20.04
Expand Down

0 comments on commit 59b5458

Please sign in to comment.