Merge pull request #21 from 40ants/fix-ql-osx-fix
Fixed loading of quicklisp-osx-fix
This commit is contained in:
commit
0fe284ebfe
4 changed files with 20 additions and 14 deletions
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
@ -32,8 +32,6 @@ jobs:
|
||||||
lisp: clisp-head
|
lisp: clisp-head
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
lisp: ecl
|
lisp: ecl
|
||||||
- os: ubuntu-latest
|
|
||||||
lisp: allegro
|
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
lisp: abcl-bin
|
lisp: abcl-bin
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
|
@ -41,6 +39,9 @@ jobs:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
lisp: cmu-bin
|
lisp: cmu-bin
|
||||||
|
|
||||||
|
# See issue: https://github.com/40ants/setup-lisp/issues/22
|
||||||
|
# - os: ubuntu-latest
|
||||||
|
# lisp: allegro
|
||||||
# See issue: https://github.com/40ants/setup-lisp/issues/15
|
# See issue: https://github.com/40ants/setup-lisp/issues/15
|
||||||
# - os: ubuntu-latest
|
# - os: ubuntu-latest
|
||||||
# lisp: clisp
|
# lisp: clisp
|
||||||
|
|
19
action.yml
19
action.yml
|
@ -272,20 +272,19 @@ runs:
|
||||||
mkdir -p ~/.roswell
|
mkdir -p ~/.roswell
|
||||||
|
|
||||||
cat >> ~/.roswell/init.lisp <<EOF
|
cat >> ~/.roswell/init.lisp <<EOF
|
||||||
(handler-bind ((error #'(lambda (c)
|
(let ((fix-filename (make-pathname :directory '(:absolute :home ".quicklisp-client-fix")
|
||||||
(uiop:print-condition-backtrace c)
|
|
||||||
(uiop:quit 1))))
|
|
||||||
(let ((fix-filename (merge-pathnames
|
|
||||||
(make-pathname :directory '(:relative ".quicklisp-client-fix")
|
|
||||||
:name "quicklisp-fix"
|
:name "quicklisp-fix"
|
||||||
:type "lisp")
|
:type "lisp")))
|
||||||
(user-homedir-pathname))))
|
(let ((quicklisp-found #+quicklisp t
|
||||||
|
#-quicklisp nil))
|
||||||
(cond
|
(cond
|
||||||
|
((not quicklisp-found)
|
||||||
|
(warn "Quicklisp is not available, skipping fix loading.~%"))
|
||||||
((probe-file fix-filename)
|
((probe-file fix-filename)
|
||||||
(format t "Loading quicklisp fix.~%")
|
(handler-bind ((warning #'muffle-warning))
|
||||||
(load fix-filename))
|
(load fix-filename)))
|
||||||
(t
|
(t
|
||||||
(format t "Quicklisp fix was not found at ~S.~%" fix-filename)))))
|
(warn "Quicklisp fix was not found at ~S.~%" fix-filename)))))
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- if: inputs.cache == 'false' || steps.roswell-cache-restore.outputs.cache-hit != 'true'
|
- if: inputs.cache == 'false' || steps.roswell-cache-restore.outputs.cache-hit != 'true'
|
||||||
|
|
|
@ -8,6 +8,12 @@
|
||||||
(defchangelog (:ignore-words ("ASDF"
|
(defchangelog (:ignore-words ("ASDF"
|
||||||
"PATH"
|
"PATH"
|
||||||
"HOME"))
|
"HOME"))
|
||||||
|
(4.0.1 2024-02-25
|
||||||
|
"
|
||||||
|
# Fixed
|
||||||
|
|
||||||
|
* Fixed loading of quicklisp-osx-fix. Previously the script made unnecessary output and when you had a `qlfile` template in your workflow this output leaked into `qlfile` broking following `qlot install`.
|
||||||
|
")
|
||||||
(4.0.0 2024-02-24
|
(4.0.0 2024-02-24
|
||||||
"
|
"
|
||||||
# Changed
|
# Changed
|
||||||
|
|
|
@ -93,7 +93,7 @@ when trying to call `ros` or `qlot` scripts:
|
||||||
| **Implementation** | **Supported** |
|
| **Implementation** | **Supported** |
|
||||||
|--------------------|------------------------------------------------------|
|
|--------------------|------------------------------------------------------|
|
||||||
| abcl-bin | ✅ |
|
| abcl-bin | ✅ |
|
||||||
| allegro | ✅ (sometimes fails because of \"expired-license\") |
|
| allegro | [❌](https://github.com/40ants/setup-lisp/issues/22) |
|
||||||
| ccl-bin | ✅ |
|
| ccl-bin | ✅ |
|
||||||
| clasp | [❌](https://github.com/40ants/setup-lisp/issues/16) |
|
| clasp | [❌](https://github.com/40ants/setup-lisp/issues/16) |
|
||||||
| clasp-bin | ✅ |
|
| clasp-bin | ✅ |
|
||||||
|
|
Loading…
Reference in a new issue