Skip to content

Commit

Permalink
[ci] use download-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
digikar99 committed Mar 28, 2024
1 parent 7561b2f commit 9d469cb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .dependencies

This file was deleted.

18 changes: 16 additions & 2 deletions .github/workflows/CI.yml
Expand Up @@ -30,8 +30,20 @@ jobs:
ls -l
bash <(curl -s https://raw.githubusercontent.com/digikar99/lisp-travis-lite/master/run.sh)
# Testing it on the second load confirms that functionalities do not
# solely eval-when compile-toplevel, and that they persist across multiple loads.
- name: Download download-dependencies
run: |
git clone https://github.com/digikar99/download-dependencies $HOME/quicklisp/local-projects/download-dependencies
- name: Download dependencies
run: |
cl --eval '(ql:quickload "download-dependencies")' \
--eval '(push "~/" ql:*local-project-directories*)' \
--eval '(in-package :download-dependencies)' \
--eval '(let ((*dependencies-home* (first ql:*local-project-directories*))) (ensure-system "polymorphic-functions"))'\
--eval '(ql:register-local-projects)'
ls -l ~/
- name: Lite - Run Tests
run: |
cl --eval '(progn
Expand All @@ -40,12 +52,14 @@ jobs:
(ql:quickload "polymorphic-functions-lite")
(asdf:test-system "polymorphic-functions-lite")
(uiop:quit 0))'
- name: Full - Compile Tests
run: |
cl --eval '(progn
(push "~/" ql:*local-project-directories*)
(print ql:*local-project-directories*)
(print (ql:where-is-system "polymorphic-functions"))
(push :travis *features*)
(ql:quickload "polymorphic-functions")
(uiop:quit 0))'
Expand Down
3 changes: 3 additions & 0 deletions src/nonlite/.dependencies
@@ -0,0 +1,3 @@
("cl-form-types" :git "https://github.com/alex-gutev/cl-form-types")
("cl-environments" :git "https://github.com/alex-gutev/cl-environments")
("compiler-macro-notes" :git "https://github.com/digikar99/compiler-macro-notes")

0 comments on commit 9d469cb

Please sign in to comment.