Skip to content

Commit

Permalink
Minimal Racket: Install some specific packages
Browse files Browse the repository at this point in the history
Install the packages documented at:

  https://www.racket-mode.com/#Minimal-Racket
  • Loading branch information
greghendershott committed Jan 21, 2025
1 parent ead1eaa commit 3fc47b3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3fc47b3

Please sign in to comment.