Skip to content

Commit 1aa490a

Browse files
cxxxrclaude
andcommitted
Upgrade ASDF before running tests (3.3.1 -> latest)
nixpkgs#sbcl bundles ASDF 3.3.1 which doesn't support the :local-nicknames feature used in define-package. Download and load the latest ASDF from asdf.common-lisp.dev. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent bb9c29f commit 1aa490a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ jobs:
4848
export LD_LIBRARY_PATH="$TREE_SITTER_LIB:$TS_WRAPPER_LIB:$JSON_GRAMMAR_LIB"
4949
export CL_SOURCE_REGISTRY="$PWD//"
5050
51+
# Upgrade ASDF before loading anything (bundled ASDF 3.3.1 is too old for :local-nicknames)
52+
curl -sO https://asdf.common-lisp.dev/archives/asdf.lisp
53+
5154
sbcl --non-interactive \
55+
--load asdf.lisp \
5256
--eval '(format t "ASDF version: ~a~%" (asdf:asdf-version))' \
5357
--eval '(ql:quickload :rove)' \
5458
--eval '(ql:quickload (list :cffi :alexandria :trivial-garbage :babel))' \
55-
--eval '(asdf:clear-source-registry)' \
56-
--eval '(asdf:initialize-source-registry)' \
5759
--eval '(ql:quickload :tree-sitter-cl/tests)' \
5860
--eval '(let ((result (rove:run :tree-sitter-cl/tests))) (unless result (uiop:quit 1)))'
5961

0 commit comments

Comments
 (0)