forked from linux-test-project/ltp
-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (31 loc) · 990 Bytes
/
metadata.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
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2024 Petr Vorel <pvorel@suse.cz>
name: "Test generating metadata documentation"
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
metadata:
runs-on: ubuntu-latest
steps:
- name: Checkout LTP
uses: actions/checkout@v2
with:
path: ltp
- name: Install packages for generating docs
run: |
cd ltp
PACKAGES_FOR_DOCPARSE_ONLY=1 ./ci/ubuntu.sh
- name: Compiler version
run: $CC --version
- name: Autotools
run: ./build.sh -r autotools
- name: Configure
run: CONFIGURE_OPT_EXTRA="--with-metadata-generator=asciidoctor" ./build.sh -r configure -o ${TREE:-in} -t $BUILD -c $CC
- name: Metadata
run: |
cd metadata
make -j$(getconf _NPROCESSORS_ONLN)
file ../docparse/*.html
- name: Metadata test
run: make test