From 3945f3269b3e2763faa1ab22d225ca4dd1856b82 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Jul 2022 20:53:09 +0200 Subject: Adding upstream version 1.0. Signed-off-by: Daniel Baumann --- .github/workflows/doc.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/doc.yml (limited to '.github/workflows/doc.yml') diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 0000000..75afbc8 --- /dev/null +++ b/.github/workflows/doc.yml @@ -0,0 +1,21 @@ +name: libnvme documenation CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + kernel_doc_job: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v2 + - name: Check documentation format + run: | + API_FILES="fabrics.h filters.h ioctl.h linux.h tree.h types.h" + for file in $API_FILES; do + ./doc/kernel-doc -v -none src/nvme/$file 2>&1 | sed -r 's/^([^:]+):([0-9]+): (warning|error):/::\3 file=\1,line=\2::/g' + done + shell: bash -- cgit v1.2.3