-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 934 Bytes
/
build.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
46
47
name: Build and test
on:
workflow_dispatch:
push:
paths:
- '**/*.c'
- '**/*.h'
- '**/*.cc'
- '**/*.hh'
- '.github/workflows/build.yml'
- '**/meson.build'
- 'subprojects/a3.wrap'
- 'boilerplate'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- uses: actions/checkout@v2
with:
repository: axboe/liburing
path: liburing
- name: Build and install liburing
run: |
cd ${{runner.workspace}}/short-circuit/liburing
./configure
make
sudo make install
- name: Install dependencies
run: pip install meson ninja
- name: Configure
run: meson setup --buildtype debug --werror -Db_sanitize=address,undefined build
- name: Build
run: meson compile -C build
- name: Test
run: meson test -C build