File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 85
85
- name : Test connection
86
86
working-directory : ' ${{ github.workspace }}/build/bin'
87
87
# run: test_connection.exe suite-quick # Loopback throughput test not performing on github hosted runners for some reason
88
+
88
89
run : test_connection.exe identity quick lane_quick_queueanddrain lane_quick_priority_and_background
89
90
shell : cmd
90
91
92
+ build-and-test-osx :
93
+ name : Build And Test for OSX
94
+ runs-on : macos-latest
95
+ steps :
96
+ - uses : actions/checkout@v3
97
+ - name : Install Vcpkg
98
+ run : |
99
+ git clone https://github.com/Microsoft/vcpkg.git
100
+ cd vcpkg
101
+ ./bootstrap-vcpkg.sh
102
+ ./vcpkg integrate install
103
+
104
+ - name : Configure CMake
105
+ # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
106
+ # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
107
+ run : cmake -B ${{github.workspace}}/build
108
+ -DCMAKE_BUILD_TYPE=Release
109
+ -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
110
+
111
+ - name : Build
112
+ # Build the program with the given configuration
113
+ run : cmake --build ${{github.workspace}}/build --config Release
114
+
115
+ - name : Test
116
+ working-directory : ${{github.workspace}}/build
117
+ # Execute tests defined by the CMake configuration.
118
+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
119
+ run : ctest -C Release
You can’t perform that action at this time.
0 commit comments