Skip to content

Commit

Permalink
Merge pull request #40 from 40ants/dynamic-space-size
Browse files Browse the repository at this point in the history
Input variable `dynamic-space-size` was added. It can be used to default set memory size for SBCL.
  • Loading branch information
svetlyak40wt authored Dec 14, 2024
2 parents b6c2357 + 55b7212 commit c5aaeb1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/env/
/.qlot
/README
*.fasl
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ inputs:
required: false
default: v23.10.14.114

dynamic-space-size:
description: 'If given, then will be used to change dynamic space size for SBCL. This value will be written to ~/.roswell/config'
required: false

asdf-system:
description: 'ASDF system to install'
required: false
Expand Down Expand Up @@ -259,6 +263,11 @@ runs:
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | bash -xeo pipefail
fi
if [[ "${{ inputs.dynamic-space-size }}" != "" ]]; then
echo ::group::Changing Dynamic Space Size in Roswell Config
echo "dynamic-space-size 0 ${{ inputs.dynamic-space-size }}" >> ~/.roswell/config
fi
echo ::endgroup::
- if: inputs.cache == 'false' || steps.roswell-cache-restore.outputs.cache-hit != 'true'
Expand Down
3 changes: 3 additions & 0 deletions changelog.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
(defchangelog (:ignore-words ("ASDF"
"PATH"
"CL"
"SBCL"
"HOME"))

(4.2.0 2024-12-14
"Input variable `dynamic-space-size` was added. It can be used to default set memory size for SBCL.")
(4.1.0 2024-05-17
"
# Added
Expand Down
8 changes: 4 additions & 4 deletions qlfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
("quicklisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "http://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
:version "2023-10-21"))
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
:version "2024-10-12"))
("ultralisp" .
(:class qlot/source/dist:source-dist
:initargs (:distribution "http://dist.ultralisp.org" :%version :latest)
:version "20240304201501"))
:initargs (:distribution "https://dist.ultralisp.org" :%version :latest)
:version "20241214090000"))
("sly" .
(:class qlot/source/github:source-github
:initargs (:repos "svetlyak40wt/sly" :ref nil :branch "patches" :tag nil)
Expand Down

0 comments on commit c5aaeb1

Please sign in to comment.