File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1515 strategy :
1616 matrix :
1717 os : [ubuntu-latest, macos-latest]
18+ need_volatile : [ON, OFF]
19+ build_unit_test_separately : [ON, OFF]
1820
1921 runs-on : ${{matrix.os}}
2022
4850 - name : Configure CMake
4951 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
5052 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
51- run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TEST=TRUE -DENABLE_MYOSTREAM_WATCH=TRUE
53+ run : >
54+ cmake -B ${{github.workspace}}/build
55+ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
56+ -DBUILD_TEST=TRUE
57+ -DENABLE_MYOSTREAM_WATCH=TRUE
58+ -DNEED_VOLATILE=${{matrix.need_volatile}}
59+ -DUNIT_TEST_SEPARATE=${{matrix.build_unit_test_separately}}
5260
5361 - name : Build
5462 # Build your program with the given configuration
Original file line number Diff line number Diff line change @@ -570,6 +570,10 @@ TEST(register_member, nonvolatile_member) {
570570
571571 const bool SupportV = PEACALM_LUAW_SUPPORT_VOLATILE_OBJECT;
572572
573+ #if SupportV
574+ EXPECT_TRUE (false );
575+ #endif
576+
573577 {
574578 volatile Obj o;
575579 l.set (" o" , &o);
You can’t perform that action at this time.
0 commit comments