From c44c50bf39307873f722b751237d22943a8fddbe Mon Sep 17 00:00:00 2001 From: Eitaro Fukamachi Date: Mon, 17 Jun 2024 15:05:48 +0000 Subject: [PATCH 1/3] Add CI for 'qlot exec'. --- .github/workflows/ci-exec.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci-exec.yaml diff --git a/.github/workflows/ci-exec.yaml b/.github/workflows/ci-exec.yaml new file mode 100644 index 0000000..b4d370f --- /dev/null +++ b/.github/workflows/ci-exec.yaml @@ -0,0 +1,29 @@ +name: CI for qlot exec + +on: [push] + +jobs: + test: + name: ${{ matrix.lisp }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + lisp: [sbcl-bin, abcl-bin, ecl] + os: [ubuntu-latest] + fail-fast: false + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - name: Install Roswell + env: + LISP: ${{ matrix.lisp }} + ROSWELL_INSTALL_DIR: /usr + run: | + curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh + - name: Compile local-inits + run: | + for file in $(find ./local-init -name "*.lisp"); do + ros -e "(or (compile-file #P\"$file\") (uiop:quit -1))" + done From c606d223e160115d02c97293ee5c78713779962b Mon Sep 17 00:00:00 2001 From: Eitaro Fukamachi Date: Mon, 17 Jun 2024 15:47:02 +0000 Subject: [PATCH 2/3] Use double-colon to use `asdf:registered-system` since it's not exported before ASDF 3.3. (fixes #250) CI for 'qlot exec' is also added. --- local-init/qlot-99-setup.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-init/qlot-99-setup.lisp b/local-init/qlot-99-setup.lisp index 9fd61d5..892d36a 100644 --- a/local-init/qlot-99-setup.lisp +++ b/local-init/qlot-99-setup.lisp @@ -51,7 +51,7 @@ (make-system-cache :system-files system-files))) (defun project-system-searcher (system-name) - (when (and (not (asdf:registered-system system-name)) + (when (and (not (asdf::registered-system system-name)) (equal (asdf:primary-system-name system-name) system-name)) (block nil (uiop:collect-sub*directories From 08a0cb6d381cc8663ff39aae56984b63bd06bcfd Mon Sep 17 00:00:00 2001 From: Eitaro Fukamachi Date: Mon, 17 Jun 2024 15:58:12 +0000 Subject: [PATCH 3/3] Add Clasp and CCL for testing 'qlot exec'. --- .github/workflows/ci-exec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-exec.yaml b/.github/workflows/ci-exec.yaml index b4d370f..468e1b7 100644 --- a/.github/workflows/ci-exec.yaml +++ b/.github/workflows/ci-exec.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - lisp: [sbcl-bin, abcl-bin, ecl] + lisp: [sbcl-bin, abcl-bin, ecl, clasp-bin, ccl-bin] os: [ubuntu-latest] fail-fast: false