-
Notifications
You must be signed in to change notification settings - Fork 97
44 lines (42 loc) · 1.11 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
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: build dependencies
run: |
sudo apt-get update
sudo apt-get install -y libtool libtool-bin libboost-all-dev 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@v4
with:
node-version: 20
- name: run ci tests
run: |
cd test
npm install
npm run test-ci
cat /tmp/drachtio.log