File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ submodules : recursive
17
+
18
+ - name : Install dependencies
19
+ run : |
20
+ sudo apt-get update
21
+ sudo apt-get install -y build-essential cmake libgtest-dev googletest
22
+
23
+ - name : Configure CMake
24
+ run : cmake -B ${{github.workspace}}/build
25
+
26
+ - name : Build
27
+ run : cmake --build ${{github.workspace}}/build
28
+
29
+ - name : Run Basic Demo
30
+ working-directory : ${{github.workspace}}/build
31
+ run : ./demo_basic
32
+
33
+ - name : Run Advanced Demo
34
+ working-directory : ${{github.workspace}}/build
35
+ run : ./demo_advanced
36
+
37
+ - name : Run Unit Tests
38
+ working-directory : ${{github.workspace}}/build
39
+ run : ./ConcurrentHashMapTest
You can’t perform that action at this time.
0 commit comments