Skip to content

Commit d3d6efe

Browse files
committed
Start of GitHub CI
Signed-off-by: Reagan Bohan <xbjfk.github@gmail.com>
1 parent e76d12a commit d3d6efe

1 file changed

Lines changed: 32 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
1-
{
2-
"name": "pull-request",
3-
"on": {
4-
"push": { "branches": "main" },
5-
"pull_request": { "branches": "main" },
6-
},
7-
"jobs": {
8-
"linux": {
9-
"runs-on": "ubuntu-latest",
10-
"strategy": {
11-
"fail-fast": false,
12-
"matrix": {
13-
"container": [
14-
"f33", "f34", "f35", "f36", "centos8", "centos9",
15-
],
16-
},
17-
},
18-
"container": "vathpela/efi-ci:${{ matrix.container }}-x64",
19-
"steps": [
20-
{ "uses": "actions/checkout@v2" },
21-
{ "run": "make all test" },
22-
{ "run": "make abicheck" },
23-
],
24-
},
25-
},
26-
}
1+
name: ci_meson
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- "**.c"
8+
- "**.h"
9+
pull_request:
10+
paths:
11+
- "**.c"
12+
- "**.h"
13+
14+
jobs:
15+
main:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-python@v1
20+
with:
21+
python-version: '3.x'
22+
- run: sudo apt-get update && sudo apt-get install -y abigail-tools
23+
- run: pip install meson ninja
24+
- run: meson setup -Dtest_abi_compat=enabled -Dgenerate_abi_xml=enabled -Dconvert_mandocs=disabled builddir/
25+
env:
26+
CC: gcc
27+
- run: meson test -C builddir/ -v
28+
- uses: actions/upload-artifact@v1
29+
with:
30+
name: Linux_Meson_Testlog
31+
path: builddir/meson-logs/testlog.txt
32+

0 commit comments

Comments
 (0)