4141 env :
4242 CXX : ${{matrix.cxx_compiler}}
4343 CC : ${{matrix.cc_compiler}}
44- CMAKE_CXX_STANDARD : ${{matrix.cxx_std}}
4544 OPENEXR_VERSION : ${{matrix.openexr_ver}}
4645
4746 steps :
7473 -B build
7574 -S .
7675 -D RTA_CENTOS7_CERES_HACK=ON
76+ -D CMAKE_CXX_STANDARD=${{matrix.cxx_std}}
7777
7878 - name : Build
7979 run : |
@@ -128,7 +128,6 @@ jobs:
128128 env :
129129 CXX : ${{matrix.cxx_compiler}}
130130 CC : ${{matrix.cc_compiler}}
131- CMAKE_CXX_STANDARD : ${{matrix.cxx_std}}
132131
133132 steps :
134133 - uses : actions/checkout@v4
@@ -152,6 +151,7 @@ jobs:
152151 run : >
153152 cmake -B build -S .
154153 -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
154+ -D CMAKE_CXX_STANDARD=${{matrix.cxx_std}}
155155
156156 - name : Build
157157 run : |
@@ -168,6 +168,7 @@ jobs:
168168 -B build_config_test
169169 -S ./unittest/config_tests
170170 -D RAWTOACES_DIR=${{ github.workspace }}/install/lib/cmake/RAWTOACES
171+ -D CMAKE_CXX_STANDARD=${{matrix.cxx_std}}
171172
172173 - name : Build config_tests
173174 run : >
@@ -246,7 +247,7 @@ jobs:
246247 -B build
247248 -S ${{ github.workspace }}
248249 -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/install
249- -D CXX_STANDARD=C++ 17
250+ -D CMAKE_CXX_STANDARD= 17
250251 -D CMAKE_TOOLCHAIN_FILE="${{ matrix.toolchain_file }}"
251252 -D ENABLE_SHARED="${{ matrix.build_shared_libs }}"
252253
@@ -268,6 +269,7 @@ jobs:
268269 -S ${{ github.workspace }}/unittest/config_tests
269270 -D RAWTOACES_DIR=${{ github.workspace }}/install/lib/cmake/RAWTOACES
270271 -D CMAKE_TOOLCHAIN_FILE="${{ matrix.toolchain_file }}"
272+ -D CMAKE_CXX_STANDARD=17
271273
272274 - name : Build config_tests
273275 run : >
0 commit comments