ci: install sphinx packages and add doc building to GitHub Actions
authorVincent Fu <vincentfu@gmail.com>
Fri, 4 Feb 2022 21:19:04 +0000 (16:19 -0500)
committerVincent Fu <vincentfu@gmail.com>
Fri, 11 Feb 2022 20:57:52 +0000 (15:57 -0500)
To better detect breakage in our documentation builds let's add them to
our GitHub Actions CI.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
ci/actions-full-test.sh
ci/actions-install.sh

index 4ae1dba10b40824ddd8d87acb099d6f988b62c85..91790664569619ab85a93fc85ff09e1ea521a868 100755 (executable)
@@ -10,6 +10,7 @@ main() {
     else
         sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug
     fi
+    make -C doc html
 }
 
 main
index b3486a475d50a8ed9b68b4cd0ad82fecd29614e9..0e472717d26e4c48f514dc99b07758d4533bf93f 100755 (executable)
@@ -60,6 +60,7 @@ DPKGCFG
     # care about the architecture.
     pkgs+=(
         python3-scipy
+       python3-sphinx
     )
 
     echo "Updating APT..."
@@ -78,7 +79,7 @@ install_macos() {
     #brew update >/dev/null 2>&1
     echo "Installing packages..."
     HOMEBREW_NO_AUTO_UPDATE=1 brew install cunit
-    pip3 install scipy six
+    pip3 install scipy six sphinx
 }
 
 main() {