Browse Source

GitHub CI: Also test building the docs (#248)

Thanks to @aloisklink for the patch!
Arthur O'Dwyer 3 years ago
parent
commit
1a53f304aa
1 changed files with 7 additions and 1 deletions
  1. 7 1
      .github/workflows/build.yml

+ 7 - 1
.github/workflows/build.yml

@@ -1,4 +1,4 @@
-name: Build and Test
+name: build # This name shows up in badge.svg
 
 on:
   push: # any branch
@@ -33,3 +33,9 @@ jobs:
     - run: make -C tests clean ; make -C tests pedantic EXTRA_CFLAGS=-DNO_DECLTYPE
     - run: make -C tests clean ; make -C tests cplusplus
     - run: make -C tests clean ; make -C tests cplusplus EXTRA_CFLAGS=-DNO_DECLTYPE
+  build-asciidoc:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+    - run: sudo apt-get update && sudo apt-get install asciidoc -y
+    - run: make -C doc