From 3fc47b347a6a586d7813c7c96634321b034637f7 Mon Sep 17 00:00:00 2001 From: Greg Hendershott Date: Tue, 21 Jan 2025 11:44:20 -0500 Subject: [PATCH] Minimal Racket: Install some specific packages Install the packages documented at: https://www.racket-mode.com/#Minimal-Racket --- .github/workflows/test.yml | 9 ++++++--- Makefile | 7 ++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0436ecdf..fc55e50c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,9 +55,10 @@ jobs: # The motivation for this job is to see if tests are likely to pass # when run on headless servers such as Debian `buildd` with the - # Minimal Racket distriubtion (or equivalent). The tests themselves - # should detect the absence of a display or a missing Racket package - # and skip. See *** in comments below. + # Minimal Racket distriubtion (or equivalent), plus manually + # installing the Racket packages recommended in our documentation. + # The tests themselves should detect the absence of a display or a + # missing Racket package and skip. See *** in comments below. minimal: runs-on: ubuntu-latest strategy: @@ -81,6 +82,8 @@ jobs: architecture: 'x64' distribution: 'minimal' # *** NOT 'full' version: ${{ matrix.racket_version }} + - name: Install some non-Minimal Racket packages # *** + run: make minimal-racket-deps - name: Show versions run: make show-versions - name: Install Emacs Packages diff --git a/Makefile b/Makefile index 801062a9..b7b1f5f8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY : help show-versions clean compile deps test test-elisp test-racket test-slow +.PHONY : help show-versions clean compile deps minimal-racket-deps test test-elisp test-racket test-slow help: @echo "Targets: show-versions, clean, compile, deps, test, test-elisp, test-racket, test-slow" @@ -55,6 +55,11 @@ deps: --eval '(package-install (quote faceup))' \ --eval '(package-install (quote paredit))' +minimal-racket-deps: + $(RACKET) -l raco pkg install --auto \ + data-lib errortrace-lib macro-debugger-text-lib rackunit-lib \ + racket-index scribble-lib drracket-tool-text-lib + test: test-racket test-elisp test-elisp: