Skip to content

Commit 69b34bc

Browse files
committed
Move to github actions
1 parent 88ca1d2 commit 69b34bc

File tree

2 files changed

+46
-30
lines changed

2 files changed

+46
-30
lines changed

.github/workflows/CI.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
- uses: actions/[email protected]
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+

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)