-
Notifications
You must be signed in to change notification settings - Fork 10
50 lines (43 loc) · 1.09 KB
/
ci.yaml
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
46
47
48
49
50
# SPDX-License-Identifier: BSD-3-Clause
# All rights reserved.
#
name: ci
on:
pull_request:
paths-ignore:
- 'doc/**'
- '*.md'
branches:
# on pull requests to master and release branches
- master
- 'v*'
push:
paths-igonre:
- 'doc/**'
- '*.md'
branches:
# on pull requests to master and release branches
- master
- 'v*'
jobs:
tests:
runs-on: ubuntu-20.04
timeout-minutes: 120
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
run: |
sudo apt-get update
sudo apt-get install -y astyle libcunit1-dev libaio-dev libssl-dev \
libnuma-dev uuid-dev lcov nasm meson ninja-build python3-pyelftools
git submodule update --init
export MAKEFLAGS="-j$(nproc)"
- name: Lint
run: ./scripts/check_format.sh
- name: Build
run: |
./configure --enable-werror --enable-debug --enable-coverage --enable-asan --with-crypto
make
- name: Running Tests
run: ./test/unit/unittest.sh