File tree Expand file tree Collapse file tree 2 files changed +46
-30
lines changed Expand file tree Collapse file tree 2 files changed +46
-30
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+ pull_request :
8
+ branches :
9
+ - ' *'
10
+
11
+ jobs :
12
+ test :
13
+ runs-on : ${{ matrix.os }}
14
+ defaults :
15
+ run :
16
+ shell : bash
17
+ strategy :
18
+ matrix :
19
+ os : [ubuntu-latest]
20
+
21
+ steps :
22
+
23
+ - name : Install dependencies
24
+ run : |
25
+ apt-get update
26
+ apt-get install -y libcurl4-openssl-dev libelf-dev libdw-dev cmake vim
27
+ - name : Install kcov
28
+ run : |
29
+ wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz
30
+ tar xzf master.tar.gz
31
+ cd kcov-master
32
+ mkdir build
33
+ cd build
34
+ cmake ..
35
+ make
36
+ make install
37
+ cd ../..
38
+ rm -rf kcov-master
39
+ - name : Run tests
40
+ run : |
41
+ mkdir -p coverage
42
+ TEST_DIR=$(pwd)/test VIMS=./vims kcov coverage ./test/test.sh
43
+ - name : Upload coverage
44
+ run : bash <(curl -s https://codecov.io/bash)
45
+
46
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments