From 9467768eb578b953705e2e3ea44e83d17b08ab4c Mon Sep 17 00:00:00 2001 From: Alexander Artemenko <svetlyak.40wt@gmail.com> Date: Sat, 14 Dec 2024 09:37:59 +0000 Subject: [PATCH 1/5] Input variable `dynamic-space-size` was added. It can be used to default set memory size for SBCL. --- action.yml | 9 +++++++++ changelog.lisp | 2 ++ qlfile.lock | 8 ++++---- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 102c6c7..4ab36ef 100644 --- a/action.yml +++ b/action.yml @@ -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 @@ -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' diff --git a/changelog.lisp b/changelog.lisp index dedd513..a4a6e2a 100644 --- a/changelog.lisp +++ b/changelog.lisp @@ -10,6 +10,8 @@ "CL" "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 diff --git a/qlfile.lock b/qlfile.lock index 5b007a6..81abab8 100644 --- a/qlfile.lock +++ b/qlfile.lock @@ -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) From 55b7212e2512b45a8d8543cc6725537fe5dd7ca4 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko <svetlyak.40wt@gmail.com> Date: Sat, 14 Dec 2024 09:51:14 +0000 Subject: [PATCH 2/5] Fixed small problem in the docs. --- .gitignore | 1 + changelog.lisp | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 2720985..f514c9e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /env/ /.qlot /README +*.fasl diff --git a/changelog.lisp b/changelog.lisp index a4a6e2a..1d74655 100644 --- a/changelog.lisp +++ b/changelog.lisp @@ -8,6 +8,7 @@ (defchangelog (:ignore-words ("ASDF" "PATH" "CL" + "SBCL" "HOME")) (4.2.0 2024-12-14 From 0bbf4764f4c11c708d00354e4a30cab8f8af4791 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <actions@github.com> Date: Sat, 14 Dec 2024 10:03:04 +0000 Subject: [PATCH 3/5] Update docs --- ChangeLog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 62ac152..2ca370e 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,12 @@ # ChangeLog +<a id="x-28PROJECT-DOCS-2FCHANGELOG-3A-3A-7C4-2E2-2E0-7C-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a> + +## 4.2.0 (2024-12-14) + +Input variable `dynamic-space-size` was added. It can be used to default set memory size for `SBCL`. + <a id="x-28PROJECT-DOCS-2FCHANGELOG-3A-3A-7C4-2E1-2E0-7C-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a> ## 4.1.0 (2024-05-17) From 37d6351ff1399409ed092e6a7392e974c8c10cb1 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko <svetlyak.40wt@gmail.com> Date: Sat, 14 Dec 2024 22:05:20 +0000 Subject: [PATCH 4/5] Fixed the way how we set dynamic-space-size. --- action.yml | 2 +- changelog.lisp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4ab36ef..e3d1213 100644 --- a/action.yml +++ b/action.yml @@ -265,7 +265,7 @@ runs: 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 + ros config set dynamic-space-size ${{ inputs.dynamic-space-size }} fi echo ::endgroup:: diff --git a/changelog.lisp b/changelog.lisp index 1d74655..89be45f 100644 --- a/changelog.lisp +++ b/changelog.lisp @@ -11,6 +11,8 @@ "SBCL" "HOME")) + (4.2.1 2024-12-15 + "Fixed the way how we set dynamic-space-size.") (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 From 76212e4597c780ad0e2ead24144b54310dffb6e3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <actions@github.com> Date: Sat, 14 Dec 2024 22:08:30 +0000 Subject: [PATCH 5/5] Update docs --- ChangeLog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 2ca370e..a82b2a3 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,12 @@ # ChangeLog +<a id="x-28PROJECT-DOCS-2FCHANGELOG-3A-3A-7C4-2E2-2E1-7C-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a> + +## 4.2.1 (2024-12-15) + +Fixed the way how we set dynamic-space-size. + <a id="x-28PROJECT-DOCS-2FCHANGELOG-3A-3A-7C4-2E2-2E0-7C-2040ANTS-DOC-2FLOCATIVES-3ASECTION-29"></a> ## 4.2.0 (2024-12-14)