File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1414 # Run on pushes only to main or if the branch name contains "analysis"
1515 branches :
1616 - main
17+ - dev-3.0
1718 - ' *analysis*'
1819 - ' *sonar*'
1920 paths :
2021 - ' **'
2122 - ' !**.md'
2223 - ' !**.rst'
23- - ' !**/analysis .yml'
24+ - ' !**/ci .yml'
2425 - ' !**/docs.yml'
2526 - ' !**.properties'
2627 - ' !docs/**'
4546 # account credentials.
4647 if : github.repository == 'AcademySoftwareFoundation/OpenImageIO'
4748 uses : ./.github/workflows/build-steps.yml
49+ # Must let the called steps workflow inherit our secrets
50+ secrets : inherit
4851 with :
4952 nametag : ${{ matrix.nametag || 'unnamed!' }}
5053 runner : ${{ matrix.runner || 'ubuntu-latest' }}
7578 fail-fast : false
7679 matrix :
7780 include :
78- - desc : sonar gcc9 /C++14 py39 exr3.1 ocio2.2
81+ - desc : sonar gcc11 /C++17 py310 exr3.2 ocio2.3
7982 nametag : static-analysis-sonar
8083 os : ubuntu-latest
8184 container : aswf/ci-osl:2024-clang17
9093 setenvs : export SONAR_SERVER_URL="https://sonarcloud.io"
9194 BUILD_WRAPPER_OUT_DIR=/__w/OpenImageIO/OpenImageIO/bw_output
9295 OIIO_CMAKE_BUILD_WRAPPER="build-wrapper-linux-x86-64 --out-dir /__w/OpenImageIO/OpenImageIO/bw_output"
93- CMAKE_BUILD_TYPE =Debug
96+ OIIO_CMAKE_BUILD_TYPE =Debug
9497 CMAKE_UNITY_BUILD=OFF
9598 CODECOV=1
9699 CTEST_TEST_TIMEOUT=1200
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ sonar.host.url=https://sonarcloud.io
66# Required metadata
77sonar.organization =academysoftwarefoundation
88sonar.projectName =OpenImageIO
9- sonar.projectVersion =2.6
9+ sonar.projectVersion =3.1
1010sonar.projectKey =AcademySoftwareFoundation_OpenImageIO
1111
1212# Project links
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ OIIO_CMAKE_FLAGS="$MY_CMAKE_FLAGS $OIIO_CMAKE_FLAGS"
1212export OIIO_SRC_DIR=${OIIO_SRC_DIR:= $PWD }
1313export OIIO_BUILD_DIR=${OIIO_BUILD_DIR:= ${OIIO_SRC_DIR} / build}
1414export OIIO_INSTALL_DIR=${OIIO_INSTALL_DIR:= ${OIIO_SRC_DIR} / dist}
15+ export OIIO_CMAKE_BUILD_TYPE=${OIIO_CMAKE_BUILD_TYPE:= ${CMAKE_BUILD_TYPE:= Release} }
1516
1617if [[ " $USE_SIMD " != " " ]] ; then
1718 OIIO_CMAKE_FLAGS=" $OIIO_CMAKE_FLAGS -DUSE_SIMD=$USE_SIMD "
3233
3334# pushd $OIIO_BUILD_DIR
3435cmake -S $OIIO_SRC_DIR -B $OIIO_BUILD_DIR -G " $CMAKE_GENERATOR " \
35- -DCMAKE_BUILD_TYPE=" ${CMAKE_BUILD_TYPE } " \
36+ -DCMAKE_BUILD_TYPE=" ${OIIO_CMAKE_BUILD_TYPE } " \
3637 -DCMAKE_PREFIX_PATH=" $CMAKE_PREFIX_PATH " \
3738 -DCMAKE_INSTALL_PREFIX=" $OpenImageIO_ROOT " \
3839 -DPYTHON_VERSION=" $PYTHON_VERSION " \
You can’t perform that action at this time.
0 commit comments