This repository was archived by the owner on Jun 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4545 uses : actions/cache@v4
4646 with :
4747 path : gtest/
48- key : ${{runner.os}}-gtest-1.14-${{matrix.lib}}-${{matrix.arch}}-${{matrix.build_type}}
48+ key : ${{runner.os}}-gtest-1.14-C++${{matrix.std}}- ${{matrix.lib}}-${{matrix.arch}}-${{matrix.build_type}}
4949
5050 - name : Download GTest
5151 if : steps.cache-gtest.outputs.cache-hit != 'true'
5959 cmake -S googletest-1.14.0 -B build-googletest `
6060 -A ${{matrix.arch}} `
6161 -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} `
62- -Dgtest_force_shared_crt=ON `
63- -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/gtest
62+ -DCMAKE_CXX_STANDARD=${{matrix.std}} `
63+ -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/gtest `
64+ -Dgtest_force_shared_crt=ON
6465 cmake --build build-googletest `
6566 --config ${{matrix.build_type}} `
6667 --target install
7071 uses : actions/cache@v4
7172 with :
7273 path : gflags/
73- key : ${{runner.os}}-gflags-2.2.2-${{matrix.lib}}-${{matrix.arch}}-${{matrix.build_type}}
74+ key : ${{runner.os}}-gflags-2.2.2-C++${{matrix.std}}- ${{matrix.lib}}-${{matrix.arch}}-${{matrix.build_type}}
7475
7576 - name : Download gflags
7677 if : steps.cache-gflags.outputs.cache-hit != 'true'
8485 cmake -S gflags-2.2.2 -B build-gflags `
8586 -A ${{matrix.arch}} `
8687 -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} `
88+ -DCMAKE_CXX_STANDARD=${{matrix.std}} `
8789 -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/gflags
8890 cmake --build build-gflags `
8991 --config ${{matrix.build_type}} `
You can’t perform that action at this time.
0 commit comments