diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 9f2591854..1521000b9 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -42,12 +42,12 @@ jobs: - desc: sonar gcc9/C++17 llvm13 py3.9 exr3.1 oiio3.0 avx2 nametag: static-analysis-sonar os: ubuntu-latest - vfxyear: 2023 - vfxsuffix: -clang15 + vfxyear: 2024 + vfxsuffix: -clang17 cxx_std: 17 openimageio_ver: release - python_ver: "3.10" - pybind11_ver: v2.10.0 + python_ver: "3.11" + pybind11_ver: v2.12.0 simd: avx2,f16c batched: b8_AVX2,b16_AVX512 coverage: 1 @@ -55,20 +55,20 @@ jobs: sonar: 1 setenvs: export xSONAR_SCANNER_VERSION=4.7.0.2747 SONAR_SERVER_URL="https://sonarcloud.io" - BUILD_WRAPPER_OUT_DIR=bw_output - OSL_CMAKE_BUILD_WRAPPER="build-wrapper-linux-x86-64 --out-dir bw_output" - CMAKE_BUILD_TYPE=Debug + BUILD_WRAPPER_OUT_DIR=/__w/OpenShadingLanguage/OpenShadingLanguage/bw_output + OSL_CMAKE_BUILD_WRAPPER="build-wrapper-linux-x86-64 --out-dir /__w/OpenShadingLanguage/OpenShadingLanguage/bw_output" + OSL_CMAKE_BUILD_TYPE=Debug + OSL_CMAKE_FLAGS="-DOSL_TEST_BIG_TIMEOUT=1200 -DUSE_QT=0" CMAKE_UNITY_BUILD=OFF CODECOV=1 TESTRENDER_AA=1 OSL_TESTSUITE_SKIP_DIFF=1 CTEST_TEST_TIMEOUT=1200 - OSL_CMAKE_FLAGS="-DOSL_TEST_BIG_TIMEOUT=1200 -DUSE_QT=0" CTEST_EXCLUSIONS="broken|noise-reg.regress|noise-gabor-reg.regress" runs-on: ${{ matrix.os }} container: - image: aswf/ci-osl:2023-clang15 + image: aswf/ci-osl:2024-clang17 env: CXX: ${{matrix.cxx_compiler}} CC: ${{matrix.cc_compiler}} diff --git a/sonar-project.properties b/sonar-project.properties index c3140897e..1701a9a8e 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -6,7 +6,7 @@ sonar.host.url=https://sonarcloud.io # Required metadata sonar.organization=academysoftwarefoundation sonar.projectName=OpenShadingLanguage -sonar.projectVersion=1.12 +sonar.projectVersion=1.14 sonar.projectKey=AcademySoftwareFoundation_OpenShadingLanguage # Project links diff --git a/src/build-scripts/ci-build.bash b/src/build-scripts/ci-build.bash index 41530d03f..44db84d29 100755 --- a/src/build-scripts/ci-build.bash +++ b/src/build-scripts/ci-build.bash @@ -8,6 +8,8 @@ # any command in it fails. This is crucial for CI tests. set -ex +export OSL_CMAKE_BUILD_TYPE=${OSL_CMAKE_BUILD_TYPE:=${CMAKE_BUILD_TYPE:=Release}} + if [[ "$USE_SIMD" != "" ]] ; then OSL_CMAKE_FLAGS="$OSL_CMAKE_FLAGS -DUSE_SIMD=$USE_SIMD" fi @@ -18,7 +20,7 @@ fi pushd build cmake .. -G "$CMAKE_GENERATOR" \ - -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" \ + -DCMAKE_BUILD_TYPE="${OSL_CMAKE_BUILD_TYPE}" \ -DCMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH" \ -DCMAKE_INSTALL_PREFIX="$OSL_ROOT" \ -DUSE_PYTHON="${USE_PYTHON:=1}" \