File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -142,3 +142,36 @@ jobs:
142142
143143 - name : Run Clang Tidy
144144 run : clang-tidy -p ${{github.workspace}}/build $(find include -type f) -- -std=c++11
145+
146+ windows :
147+ runs-on : windows-latest
148+ steps :
149+ - uses : actions/checkout@v4
150+
151+ - name : Launch MSVC Dev Prompt
152+ uses : ilammy/msvc-dev-cmd@v2
153+
154+ - name : Confirm MSVC version
155+ shell : pwsh
156+ run : |
157+ cl
158+ msbuild -version
159+
160+ - name : Create Build Environment
161+ run : cmake -E make_directory ${{github.workspace}}/build
162+
163+ - name : Configure CMake
164+ working-directory : ${{github.workspace}}/build
165+ run : cmake ${{ github.workspace }} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=11 -DCPP_CHANNEL_BUILD_EXAMPLES=ON -DCPP_CHANNEL_BUILD_TESTS=ON
166+
167+ - name : Build
168+ working-directory : ${{github.workspace}}/build
169+ run : cmake --build . --config Debug --target channel_tests -j
170+
171+ - name : Test
172+ working-directory : ${{github.workspace}}/build
173+ run : ctest -C Debug --verbose -L channel_tests --output-on-failure -j
174+
175+ - name : Run examples
176+ working-directory : ${{github.workspace}}/build
177+ run : cmake --build . --config Debug --target examples -j
You can’t perform that action at this time.
0 commit comments