4040 -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
4141 -DCMAKE_PREFIX_PATH=$GLOB_PREFIX_PATH \
4242 -DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
43- -DSPARROW_IPC_BUILD_TESTS=ON
43+ -DSPARROW_IPC_BUILD_TESTS=ON \
44+ -DSPARROW_IPC_BUILD_EXAMPLES=ON
4445
4546 - name : Build sparrow-ipc
4647 working-directory : build
5556 run : |
5657 cmake --build . --config ${{ matrix.build_type }} --target run_tests_with_junit_report
5758
59+ - name : Build example
60+ working-directory : build
61+ run : cmake --build . --config ${{ matrix.build_type }} --target write_and_read_streams
62+
63+ - name : Run example
64+ working-directory : build
65+ run : cmake --build . --config ${{ matrix.build_type }} --target run_example
66+
5867 - name : Install
5968 working-directory : build
6069 run : cmake --install . --config ${{ matrix.build_type }}
8089 cmake -S ./ -B ./build \
8190 -DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
8291 -DSPARROW_IPC_BUILD_TESTS=ON \
92+ -DSPARROW_IPC_BUILD_EXAMPLES=ON \
8393 -DFETCH_DEPENDENCIES_WITH_CMAKE=MISSING \
8494 $TEST_COVERAGE_ACTIVATION
8595
@@ -95,6 +105,14 @@ jobs:
95105 working-directory : build
96106 run : cmake --build . --config ${{ matrix.build_type }} --target run_tests_with_junit_report
97107
108+ - name : Build example
109+ working-directory : build
110+ run : cmake --build . --config ${{ matrix.build_type }} --target write_and_read_streams
111+
112+ - name : Run example
113+ working-directory : build
114+ run : cmake --build . --config ${{ matrix.build_type }} --target run_example
115+
98116 - name : Install
99117 working-directory : build
100118 run : cmake --install . --config ${{ matrix.build_type }}
0 commit comments