File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 5555
5656 - name : Test
5757 working-directory : ${{github.workspace}}/build
58- run : ./tests/tree-tests
58+ run : ./tests/tree-tests
59+
60+ msvc :
61+ runs-on : windows-latest
62+ steps :
63+ - name : Checkout
64+ uses : actions/checkout@v2
65+
66+ - name : Setup MSVC
67+ 68+
69+ - name : Install vcpkg and gtest
70+ run : |
71+ git clone https://github.com/microsoft/vcpkg.git
72+ .\vcpkg\bootstrap-vcpkg.bat
73+ .\vcpkg\vcpkg.exe install gtest
74+ shell : pwsh
75+ env :
76+ VCPKG_DEFAULT_TRIPLET : x64-windows
77+
78+ - name : CMake Configure
79+ run : cmake -B ${{github.workspace}}/build -G"Visual Studio 17 2022" -A x64 -DINT_TREE_BUILD_EXAMPLES=on -DINT_TREE_ENABLE_TESTS=on -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
80+
81+ - name : Build
82+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
83+
84+ - name : Test
85+ working-directory : ${{github.workspace}}/build
86+ run : .\tests\tree-tests.exe
You can’t perform that action at this time.
0 commit comments