@@ -60,18 +60,16 @@ jobs:
6060 - name : Configure CMake
6161 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
6262 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
63- shell : cmd
6463 run : |
65- cmake -B ${{github.workspace}}/_build ^
66- -G "Visual Studio 16 2019" ^
67- -A ${{ matrix.build_arch }} ^
68- -T ${{ env.VS_TOOLSET }} ^
69- -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_PREFIX}} ^
70- -DUDPCAP_LIBRARY_TYPE=${{ env.udpcap_library_type }} ^
64+ cmake -B ${{github.workspace}}/_build `
65+ -G "Visual Studio 16 2019" `
66+ -A ${{ matrix.build_arch }} `
67+ -T ${{ env.VS_TOOLSET }} `
68+ -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_PREFIX}} `
69+ -DUDPCAP_LIBRARY_TYPE=${{ env.udpcap_library_type }} `
7170 -DBUILD_SHARED_LIBS=${{ env.build_shared_libs }}
7271
7372 - name : Build (Release)
74- shell : cmd
7573 run : |
7674 cmake --build ${{github.workspace}}/_build --config Release --parallel
7775
8583 endif
8684
8785 - name : Build (Debug)
88- shell : cmd
8986 run : |
9087 cmake --build ${{github.workspace}}/_build --config Debug --parallel
9188
@@ -115,15 +112,13 @@ jobs:
115112 # ###########################################
116113
117114 - name : CMake integration test
118- shell : cmd
119115 run : |
120- cmake -B ${{github.workspace}}/samples/integration_test/_build ^
121- -A ${{ matrix.build_arch }} ^
116+ cmake -B ${{github.workspace}}/samples/integration_test/_build `
117+ -A ${{ matrix.build_arch }} `
122118 -DCMAKE_PREFIX_PATH=${{github.workspace}}/${{env.INSTALL_PREFIX}}
123119 working-directory : ${{ github.workspace }}/samples/integration_test
124120
125121 - name : Compile integration test (Release)
126- shell : cmd
127122 run : cmake --build ${{github.workspace}}/samples/integration_test/_build --config Release
128123 working-directory : ${{ github.workspace }}/samples/integration_test
129124
@@ -137,7 +132,6 @@ jobs:
137132 working-directory : ${{ github.workspace }}/samples/integration_test/_build/Release
138133
139134 - name : Compile integration test (Debug)
140- shell : cmd
141135 run : cmake --build ${{github.workspace}}/samples/integration_test/_build --config Debug
142136 working-directory : ${{ github.workspace }}/samples/integration_test
143137
0 commit comments