-
Notifications
You must be signed in to change notification settings - Fork 81
37 lines (33 loc) · 835 Bytes
/
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
# SPDX-License-Identifier: GPL-2.0
name: CI
on:
workflow_dispatch:
push:
pull_request:
jobs:
Ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
arch: [x64_64, aarch64, ppc64le]
steps:
- uses: actions/checkout@v2
- name: prepare
run: |
sudo apt-get update
sudo apt-get install -y build-essential libsqlite3-dev sqlite3 libtraceevent-dev libtraceevent1
- name: build
run: |
autoreconf -vfi
./configure --enable-all
make
sudo make install
Check:
name: Source code check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: checkpatch
run:
./scripts/checkpatch.pl --terse --show-types --no-summary -f $(git ls-files|grep -E '\.[ch]$')