File tree Expand file tree Collapse file tree 6 files changed +18
-11
lines changed
Expand file tree Collapse file tree 6 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 5151 # account credentials.
5252 if : github.repository == 'AcademySoftwareFoundation/OpenImageIO'
5353 uses : ./.github/workflows/build-steps.yml
54- # Must let the called steps workflow inherit our secrets
55- secrets : inherit
54+ # Must let the called steps workflow inherit necessary secrets
55+ secrets :
56+ PASSED_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57+ PASSED_SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
5658 with :
5759 nametag : ${{ matrix.nametag || 'unnamed!' }}
5860 runner : ${{ matrix.runner || 'ubuntu-latest' }}
Original file line number Diff line number Diff line change 6464 type : string
6565 nametag :
6666 type : string
67+ secrets :
68+ PASSED_GITHUB_TOKEN :
69+ required : false
70+ PASSED_SONAR_TOKEN :
71+ required : false
6772
6873permissions : read-all
6974
@@ -145,8 +150,8 @@ jobs:
145150 - name : Sonar-scanner
146151 if : inputs.sonar == 1
147152 env :
148- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
149- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
153+ GITHUB_TOKEN : ${{ secrets.PASSED_GITHUB_TOKEN }}
154+ SONAR_TOKEN : ${{ secrets.PASSED_SONAR_TOKEN }}
150155 run : |
151156 which sonar-scanner
152157 ls -l /__w/OpenImageIO/OpenImageIO/bw_output
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ jobs:
588588 runner : windows-2019
589589 vsver : 2019
590590 generator : " Visual Studio 16 2019"
591- python_ver : 3.7
591+ python_ver : " 3.9 "
592592 - desc : Windows-2022 VS2022
593593 runner : windows-2022
594594 vsver : 2022
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ NEW or CHANGED MINIMUM dependencies since the last major release are **bold**.
1919 CMake configuration flag: ` -DCMAKE_CXX_STANDARD=20 ` , etc.
2020 * Compilers: ** gcc 9.3** - 14.2, ** clang 5** - 19, MSVS 2017 - 2019 (** v19.14
2121 and up** ), ** Intel icc 19+** , Intel OneAPI C++ compiler 2022+.
22- * ** CMake >= 3.18.2** (tested through 3.30 )
22+ * ** CMake >= 3.18.2** (tested through 3.31 )
2323 * ** Imath >= 3.1** (tested through 3.1.x and main)
2424 * ** OpenEXR >= 3.1** (tested through 3.3 and main)
2525 * ** libTIFF >= 4.0** (tested through 4.7)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ set -ex
1212echo " Building cmake"
1313uname
1414
15- CMAKE_VERSION=${CMAKE_VERSION:= 3.18.5 }
15+ CMAKE_VERSION=${CMAKE_VERSION:= 3.31.3 }
1616LOCAL_DEPS_DIR=${LOCAL_DEPS_DIR:= ${PWD} / ext}
1717CMAKE_INSTALL_DIR=${CMAKE_INSTALL_DIR:= ${LOCAL_DEPS_DIR} / cmake}
1818
2525
2626if [[ ` uname` == " Linux" && ` uname -m` == " aarch64" ]] ; then
2727 mkdir -p ${CMAKE_INSTALL_DIR} || true
28- curl --location https://anaconda.org/conda-forge/cmake/3.17.0 /download/linux-aarch64 /cmake-3.17.0-h28c56e5_0.tar.bz2 -o cmake-3.17.0-h28c56e5_0.tar.bz2
29- tar -xjf cmake-3.17.0-h28c56e5_0.tar.bz2 -C ${CMAKE_INSTALL_DIR}
28+ curl --location " https://github.com/Kitware/CMake/releases /download/v ${CMAKE_VERSION} /cmake-${CMAKE_VERSION} -Linux-aarch64.sh " -o " cmake.sh "
29+ sh cmake.sh --skip-license --prefix= ${CMAKE_INSTALL_DIR}
3030 export PATH=${CMAKE_INSTALL_DIR} /bin:$PATH
3131
3232 # In case we ever need to build from scratch:
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ if (LINKSTATIC)
9696 set (LibRaw_r_LIBRARIES ${LibRaw_r_LIBRARIES} ${LCMS2_LIBRARIES} )
9797 endif ()
9898 if (MSVC )
99- set (LibRaw_r_DEFINITIONS ${LibRaw_r_DEFINITIONS} LIBRAW_NODLL)
100- set (LibRaw_DEFINITIONS ${LibRaw_DEFINITIONS} LIBRAW_NODLL)
99+ set (LibRaw_r_DEFINITIONS ${LibRaw_r_DEFINITIONS} -D LIBRAW_NODLL)
100+ set (LibRaw_DEFINITIONS ${LibRaw_DEFINITIONS} -D LIBRAW_NODLL)
101101 endif ()
102102endif ()
You can’t perform that action at this time.
0 commit comments