-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a73af8d
commit 31a825b
Showing
5 changed files
with
105 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: 'CI' | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: docker | ||
|
||
strategy: | ||
matrix: | ||
lisp: | ||
- sbcl-bin | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Restore cache | ||
id: restore-cache | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: | | ||
~/.roswell | ||
/usr/local/bin/ros | ||
/usr/local/etc/roswell/ | ||
qlfile | ||
qlfile.lock | ||
.qlot | ||
~/.cache/common-lisp/ | ||
key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile', 'qlfile.lock', '*.asd') }} | ||
|
||
- name: Install Roswell | ||
if: steps.restore-cache.outputs.cache-hit != 'true' | ||
env: | ||
LISP: ${{ matrix.lisp }} | ||
run: | | ||
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh | ||
- name: Install Qlot | ||
if: steps.restore-cache.outputs.cache-hit != 'true' | ||
run: | | ||
ros install fukamachi/qlot | ||
- name: Install dependencies | ||
if: steps.restore-cache.outputs.cache-hit != 'true' | ||
run: | | ||
PATH="~/.roswell/bin:$PATH" | ||
qlot install | ||
qlot exec ros install hsx | ||
- name: Save cache | ||
id: save-cache | ||
uses: actions/cache/save@v4 | ||
if: steps.restore-cache.outputs.cache-hit != 'true' | ||
with: | ||
path: | | ||
~/.roswell | ||
/usr/local/bin/ros | ||
/usr/local/etc/roswell/ | ||
qlfile | ||
qlfile.lock | ||
.qlot | ||
~/.cache/common-lisp/ | ||
key: ${{ steps.restore-cache.outputs.cache-primary-key }} | ||
|
||
- name: Run tests | ||
run: .qlot/bin/rove hsx.asd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ql alexandria | ||
ql cl-str | ||
|
||
github rove fukamachi/rove | ||
github dissect Shinmera/dissect ; workaround | ||
ql mstrings | ||
git rove https://github.com/fukamachi/rove | ||
git dissect https://github.com/Shinmera/dissect ; workaround | ||
git mstrings https://git.sr.ht/~shunter/mstrings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
("quicklisp" . | ||
(:class qlot/source/dist:source-dist | ||
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest) | ||
:version "2023-10-21")) | ||
:version "2024-10-12")) | ||
("alexandria" . | ||
(:class qlot/source/ql:source-ql | ||
:initargs (:%version :latest) | ||
:version "ql-2023-10-21")) | ||
:version "ql-2024-10-12")) | ||
("cl-str" . | ||
(:class qlot/source/ql:source-ql | ||
:initargs (:%version :latest) | ||
:version "ql-2023-10-21")) | ||
:version "ql-2024-10-12")) | ||
("rove" . | ||
(:class qlot/source/github:source-github | ||
:initargs (:repos "fukamachi/rove" :ref nil :branch nil :tag nil) | ||
:version "github-cacea7331c10fe9d8398d104b2dfd579bf7ea353")) | ||
(:class qlot/source/git:source-git | ||
:initargs (:remote-url "https://github.com/fukamachi/rove") | ||
:version "git-cacea7331c10fe9d8398d104b2dfd579bf7ea353")) | ||
("dissect" . | ||
(:class qlot/source/github:source-github | ||
:initargs (:repos "Shinmera/dissect" :ref nil :branch nil :tag nil) | ||
:version "github-a70cabcd748cf7c041196efd711e2dcca2bbbb2c")) | ||
(:class qlot/source/git:source-git | ||
:initargs (:remote-url "https://github.com/Shinmera/dissect") | ||
:version "git-a70cabcd748cf7c041196efd711e2dcca2bbbb2c")) | ||
("mstrings" . | ||
(:class qlot/source/ql:source-ql | ||
:initargs (:%version :latest) | ||
:version "ql-2023-10-21")) | ||
(:class qlot/source/git:source-git | ||
:initargs (:remote-url "https://git.sr.ht/~shunter/mstrings") | ||
:version "git-7a94c070141c7cd03bbd3648b17724c3bf143393")) |