-
Notifications
You must be signed in to change notification settings - Fork 98
45 lines (41 loc) · 1.08 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: CI
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: checkout repo
uses: actions/checkout@v2
with:
submodules: recursive
- name: build dependencies
run: |
sudo apt-get update
sudo apt-get install -y libtool libtool-bin libcurl4-openssl-dev libpcap-dev libunwind-dev libgoogle-perftools-dev
- name: build sipp
run: |
sudo chmod a+w /usr/local/src/
cd /usr/local/src/
git clone https://github.com/SIPp/sipp.git -b v3.6.1 --depth 20
cd sipp
./build.sh --common
sudo make install
- name: build drachtio
run: |
./autogen.sh
mkdir -p build && cd $_
../configure --enable-tcmalloc=yes
make
sudo make install
- name: install nodejs
uses: actions/setup-node@v1
with:
node-version: 12
- name: run ci tests
run: |
cd test
npm install
npm run test-ci
cat /tmp/drachtio.log