Explorar o código

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

Thanks to @aloisklink for the patch!
Arthur O'Dwyer %!s(int64=3) %!d(string=hai) anos
pai
achega
1a53f304aa
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  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:
 on:
   push: # any branch
   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 pedantic EXTRA_CFLAGS=-DNO_DECLTYPE
     - run: make -C tests clean ; make -C tests cplusplus
     - run: make -C tests clean ; make -C tests cplusplus
     - run: make -C tests clean ; make -C tests cplusplus EXTRA_CFLAGS=-DNO_DECLTYPE
     - 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