File tree 1 file changed +31
-0
lines changed 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Windows
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ env :
10
+ BUILD_TYPE : Release
11
+ # It is impossible to start CH server in docker on macos due to github actions limitations,
12
+ # so limit tests to ones that do no require server interaction.
13
+ GTEST_FILTER : --gtest_filter=-"Client/*:*Performance*"
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : windows-latest
18
+
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - uses : ilammy/msvc-dev-cmd@v1
22
+
23
+ - name : Configure CMake
24
+ run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=ON
25
+
26
+ - name : Build
27
+ run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
28
+
29
+ - name : Test
30
+ working-directory : ${{github.workspace}}/build/ut
31
+ run : ./clickhouse-cpp-ut.exe "${{env.GTEST_FILTER}}"
You can’t perform that action at this time.
0 commit comments