From 6e7395d6520e8411e35df6c60750face804e3947 Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Wed, 24 Jan 2024 12:23:23 -0500
Subject: [PATCH] ci: go back to sphinx-build-env to enable PDF build

---
 .gitlab-ci.yml  | 4 ++--
 gitlab-build.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7f9eabb3..259b6021 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: beagle/debian-build:latest
+image: beagle/sphinx-build-env:latest
 
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
@@ -6,6 +6,7 @@ variables:
 cache:
   paths:
   - .venv
+  - .cache
 
 build:
   stage: build
@@ -18,7 +19,6 @@ build:
     paths:
     - public/$TARGET
   before_script:
-    - apt update && apt install -y python3-venv doxygen
     - source ./venv-build-env.sh
   script:
     - ./gitlab-build.sh $TARGET
diff --git a/gitlab-build.sh b/gitlab-build.sh
index 93643e37..6518dbd6 100755
--- a/gitlab-build.sh
+++ b/gitlab-build.sh
@@ -48,13 +48,13 @@ HERE
 
 		echo "**** make html ****"
 		# Build HTML
-		make html -j$(nproc) BUILDDIR=public
+		make html BUILDDIR=public
 	fi
 
 	if [ "x$1" == "xpdf" ]; then
 		echo "**** make latexpdf ****"
 		# Build, optimize, and serve PDF
-		make latexpdf -j$(nproc) BUILDDIR=public
+		make latexpdf BUILDDIR=public
 
 		echo "**** pdfcpu ****"
 		pdfcpu version
-- 
GitLab