Skip to content

Commit 0d159fe

Browse files
authored
Merge branch 'AcademySoftwareFoundation:main' into R3D
2 parents 7f3c932 + 7554792 commit 0d159fe

File tree

120 files changed

+8856
-2806
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+8856
-2806
lines changed

.github/workflows/build-steps.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ on:
5050
type: string
5151
abi_check:
5252
type: string
53+
benchmark:
54+
type: string
5355
build_docs:
5456
type: string
5557
clang_format:
@@ -104,8 +106,6 @@ jobs:
104106
steps:
105107
- name: Checkout repo
106108
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
107-
with:
108-
fetch-depth: '0'
109109
- name: Prepare ccache timestamp
110110
id: ccache_cache_keys
111111
shell: bash
@@ -147,6 +147,10 @@ jobs:
147147
if: inputs.skip_tests != '1'
148148
shell: bash
149149
run: src/build-scripts/ci-test.bash
150+
- name: Benchmarks
151+
if: inputs.benchmark == '1'
152+
shell: bash
153+
run: src/build-scripts/ci-benchmark.bash
150154
- name: clang-format
151155
if: inputs.clang_format == '1'
152156
shell: bash
@@ -195,13 +199,14 @@ jobs:
195199
time make sphinx
196200
- name: Upload testsuite debugging artifacts
197201
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
198-
if: ${{ failure() || inputs.build_docs == '1'}}
202+
if: ${{ failure() || inputs.build_docs == '1' || inputs.benchmark == '1' }}
199203
with:
200204
name: oiio-${{github.job}}-${{inputs.nametag}}
201205
path: |
202206
build/cmake-save
203207
build/compat_reports
204208
build/sphinx
209+
build/benchmarks
205210
build/testsuite/*/*.*
206211
!build/testsuite/oiio-images
207212
!build/testsuite/openexr-images

.github/workflows/ci.yml

Lines changed: 78 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ jobs:
176176
# egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
177177
- name: Checkout repo
178178
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
179-
with:
180-
fetch-depth: '0'
181179
- name: Prepare ccache timestamp
182180
id: ccache_cache_keys
183181
run: echo "date=`date -u +'%Y-%m-%dT%H:%M:%SZ'`" >> $GITHUB_OUTPUT
@@ -202,6 +200,10 @@ jobs:
202200
- name: Testsuite
203201
if: matrix.skip_tests != '1'
204202
run: src/build-scripts/ci-test.bash
203+
- name: Benchmarks
204+
if: matrix.benchmark == '1'
205+
shell: bash
206+
run: src/build-scripts/ci-benchmark.bash
205207
- name: Check out ABI standard
206208
if: matrix.abi_check != ''
207209
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -234,6 +236,7 @@ jobs:
234236
build/cmake-save
235237
build/compat_reports
236238
build/sphinx
239+
build/benchmarks
237240
build/testsuite/*/*.*
238241
!build/testsuite/oiio-images
239242
!build/testsuite/openexr-images
@@ -269,6 +272,7 @@ jobs:
269272
skip_build: ${{ matrix.skip_build }}
270273
skip_tests: ${{ matrix.skip_tests }}
271274
abi_check: ${{ matrix.abi_check }}
275+
benchmark: ${{ matrix.benchmark }}
272276
build_docs: ${{ matrix.build_docs }}
273277
clang_format: ${{ matrix.clang_format }}
274278
generator: ${{ matrix.generator }}
@@ -314,6 +318,7 @@ jobs:
314318
python_ver: "3.10"
315319
pybind11_ver: v2.10.0
316320
simd: "avx2,f16c"
321+
benchmark: 1
317322
setenvs: export USE_OPENVDB=0
318323
xOPENCOLORIO_CXX=g++
319324
UHDR_CMAKE_C_COMPILER=gcc
@@ -328,6 +333,7 @@ jobs:
328333
simd: "avx2,f16c"
329334
fmt_ver: 10.1.1
330335
pybind11_ver: v2.12.0
336+
benchmark: 1
331337
setenvs: PUGIXML_VERSION=v1.14
332338
- desc: VFX2024 clang/C++17 py3.11 exr3.2 ocio2.3
333339
nametag: linux-vfx2024.clang
@@ -339,8 +345,19 @@ jobs:
339345
simd: "avx2,f16c"
340346
fmt_ver: 10.1.1
341347
pybind11_ver: v2.12.0
348+
benchmark: 1
342349
setenvs: PUGIXML_VERSION=v1.14
343-
- desc: VFX2024 sanitizers
350+
- desc: VFX2025 gcc11/C++17 py3.11 exr3.3 ocio2.4
351+
nametag: linux-vfx2025
352+
runner: ubuntu-latest
353+
container: aswftesting/ci-oiio:2025
354+
python_ver: "3.11"
355+
simd: "avx2,f16c"
356+
fmt_ver: 11.1.4
357+
pybind11_ver: v2.13.6
358+
benchmark: 1
359+
setenvs: PUGIXML_VERSION=v1.15
360+
- desc: Sanitizers
344361
nametag: sanitizer
345362
runner: ubuntu-latest
346363
container: aswf/ci-osl:2024-clang17
@@ -366,8 +383,8 @@ jobs:
366383
python_ver: "3.11"
367384
simd: "avx2,f16c"
368385
skip_tests: 1
369-
# abi_check: v2.6.2.0
370-
abi_check: 730687ae79bb6c3290afff535aa0e98b0531d165
386+
# abi_check: v3.1.3.0
387+
abi_check: 488dfb240884fcb58c889f340c869c2226ca2a28
371388
setenvs: export OIIO_CMAKE_FLAGS="-DOIIO_BUILD_TOOLS=0 -DOIIO_BUILD_TESTS=0 -DUSE_PYTHON=0"
372389
USE_OPENCV=0 USE_FFMPEG=0 USE_PYTHON=0 USE_FREETYPE=0
373390

@@ -397,7 +414,7 @@ jobs:
397414
cc_compiler: gcc-13
398415
cxx_compiler: g++-13
399416
cxx_std: 20
400-
fmt_ver: 11.1.4
417+
fmt_ver: 11.2.0
401418
opencolorio_ver: v2.4.2
402419
openexr_ver: v3.3.3
403420
pybind11_ver: v2.13.6
@@ -424,6 +441,7 @@ jobs:
424441
pybind11_ver: master
425442
python_ver: "3.12"
426443
simd: avx2,f16c
444+
benchmark: 1
427445
setenvs: export LIBJPEGTURBO_VERSION=main
428446
LIBRAW_VERSION=master
429447
LIBTIFF_VERSION=master
@@ -494,6 +512,46 @@ jobs:
494512
depcmds: |
495513
sudo rm -rf /usr/local/include/OpenEXR
496514
sudo rm -rf /usr/local/lib64/cmake/{IlmBase,OpenEXR}
515+
- desc: Linux ARM latest releases gcc14 C++20 py3.12 exr3.3 ocio2.4
516+
nametag: linux-latest-releases
517+
runner: ubuntu-24.04-arm
518+
cc_compiler: gcc-14
519+
cxx_compiler: g++-14
520+
cxx_std: 20
521+
fmt_ver: 11.1.4
522+
opencolorio_ver: v2.4.2
523+
openexr_ver: v3.3.3
524+
pybind11_ver: v2.13.6
525+
python_ver: "3.12"
526+
setenvs: export LIBJPEGTURBO_VERSION=3.1.0
527+
LIBRAW_VERSION=0.21.3
528+
LIBTIFF_VERSION=v4.7.0
529+
OPENJPEG_VERSION=v2.5.3
530+
PTEX_VERSION=v2.4.3
531+
PUGIXML_VERSION=v1.15
532+
WEBP_VERSION=v1.5.0
533+
FREETYPE_VERSION=VER-2-13-3
534+
USE_OPENVDB=0
535+
- desc: Linux ARM latest releases clang18 C++20 py3.12 exr3.3 ocio2.4
536+
nametag: linux-latest-releases
537+
runner: ubuntu-24.04-arm
538+
cc_compiler: clang-18
539+
cxx_compiler: clang++-18
540+
cxx_std: 20
541+
fmt_ver: 11.1.4
542+
opencolorio_ver: v2.4.2
543+
openexr_ver: v3.3.3
544+
pybind11_ver: v2.13.6
545+
python_ver: "3.12"
546+
setenvs: export LIBJPEGTURBO_VERSION=3.1.0
547+
LIBRAW_VERSION=0.21.3
548+
LIBTIFF_VERSION=v4.7.0
549+
OPENJPEG_VERSION=v2.5.3
550+
PTEX_VERSION=v2.4.3
551+
PUGIXML_VERSION=v1.15
552+
WEBP_VERSION=v1.5.0
553+
FREETYPE_VERSION=VER-2-13-3
554+
USE_OPENVDB=0
497555

498556

499557
#
@@ -522,6 +580,7 @@ jobs:
522580
simd: ${{ matrix.simd }}
523581
skip_build: ${{ matrix.skip_build }}
524582
skip_tests: ${{ matrix.skip_tests }}
583+
benchmark: ${{ matrix.benchmark }}
525584
abi_check: ${{ matrix.abi_check }}
526585
build_docs: ${{ matrix.build_docs }}
527586
generator: ${{ matrix.generator }}
@@ -543,6 +602,7 @@ jobs:
543602
simd: sse4.2,avx2
544603
ctest_test_timeout: 1200
545604
setenvs: export MACOSX_DEPLOYMENT_TARGET=12.0
605+
benchmark: 1
546606
- desc: MacOS-14-ARM aclang15/C++20/py3.12
547607
runner: macos-14
548608
nametag: macos14-arm-py312
@@ -557,6 +617,7 @@ jobs:
557617
cxx_compiler: clang++
558618
cxx_std: 20
559619
python_ver: "3.13"
620+
benchmark: 1
560621

561622

562623
#
@@ -585,6 +646,7 @@ jobs:
585646
simd: ${{ matrix.simd }}
586647
skip_build: ${{ matrix.skip_build }}
587648
skip_tests: ${{ matrix.skip_tests }}
649+
benchmark: ${{ matrix.benchmark }}
588650
abi_check: ${{ matrix.abi_check }}
589651
build_docs: ${{ matrix.build_docs }}
590652
generator: ${{ matrix.generator }}
@@ -598,13 +660,23 @@ jobs:
598660
include:
599661
- desc: Windows-2019 VS2019
600662
runner: windows-2019
663+
nametag: windows-2019
601664
vsver: 2019
602665
generator: "Visual Studio 16 2019"
603666
python_ver: "3.9"
604667
setenvs: export OPENIMAGEIO_PYTHON_LOAD_DLLS_FROM_PATH=1
605668
- desc: Windows-2022 VS2022
606669
runner: windows-2022
670+
nametag: windows-2022
671+
vsver: 2022
672+
generator: "Visual Studio 17 2022"
673+
python_ver: "3.9"
674+
setenvs: export OPENIMAGEIO_PYTHON_LOAD_DLLS_FROM_PATH=1
675+
- desc: Windows-2025 VS2022
676+
runner: windows-2025
677+
nametag: windows-2025
607678
vsver: 2022
608679
generator: "Visual Studio 17 2022"
609680
python_ver: "3.9"
610681
setenvs: export OPENIMAGEIO_PYTHON_LOAD_DLLS_FROM_PATH=1
682+
benchmark: 1

.github/workflows/release-sign.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
echo OPENIMAGEIO_TARBALL=OpenImageIO-${TAG//v}.tar.gz >> $GITHUB_ENV
4949
shell: bash
5050

51-
- name: Checkout
52-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
51+
- name: Checkout repo
52+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5353

5454
- name: Create archive
5555
run: git archive --format=tar.gz -o ${OPENIMAGEIO_TARBALL} --prefix ${OPENIMAGEIO_PREFIX} ${TAG}

.github/workflows/scorecard.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ jobs:
4040
actions: read
4141

4242
steps:
43-
- name: "Checkout code"
43+
- name: Checkout repo
4444
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4545
with:
4646
persist-credentials: false
47-
fetch-depth: '0'
4847

4948
- name: "Run analysis"
5049
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
@@ -66,7 +65,7 @@ jobs:
6665
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6766
# format to the repository Actions tab.
6867
- name: "Upload artifact"
69-
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
68+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
7069
with:
7170
name: SARIF file
7271
path: results.sarif

0 commit comments

Comments
 (0)