Skip to content

ci: Add job for building metadata #3

ci: Add job for building metadata

ci: Add job for building metadata #3

Workflow file for this run

# 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: 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 "$GITHUB_WORKSPACE/ltp/metadata"
cd ltp/metadata
make -j$(getconf _NPROCESSORS_ONLN)
file ../docparse/*.html
- name: Metadata test
run: |
make test