Add workflow for Forgejo Actions
All checks were successful
CI / test (sbcl-bin) (push) Successful in 15s
All checks were successful
CI / test (sbcl-bin) (push) Successful in 15s
This commit is contained in:
parent
56ef2a853d
commit
68b2b76b8b
4 changed files with 96 additions and 25 deletions
70
.forgejo/workflows/ci.yml
Normal file
70
.forgejo/workflows/ci.yml
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
name: 'CI'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
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 lack-mw
|
||||||
|
|
||||||
|
- 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 lack-mw.asd
|
|
@ -1,4 +1,4 @@
|
||||||
name: 'test'
|
name: 'CI'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -7,7 +7,7 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
11
qlfile
11
qlfile
|
@ -1,5 +1,6 @@
|
||||||
github lack fukamachi/lack
|
ql lack
|
||||||
github quri fukamachi/quri
|
ql quri
|
||||||
github rove fukamachi/rove
|
|
||||||
github dissect Shinmera/dissect ; workaround
|
git rove https://github.com/fukamachi/rove
|
||||||
github ningle fukamachi/ningle
|
git dissect https://github.com/Shinmera/dissect ; workaround
|
||||||
|
git ningle https://github.com/fukamachi/ningle
|
||||||
|
|
30
qlfile.lock
30
qlfile.lock
|
@ -3,22 +3,22 @@
|
||||||
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
|
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
|
||||||
:version "2024-10-12"))
|
:version "2024-10-12"))
|
||||||
("lack" .
|
("lack" .
|
||||||
(:class qlot/source/github:source-github
|
(:class qlot/source/ql:source-ql
|
||||||
:initargs (:repos "fukamachi/lack" :ref nil :branch nil :tag nil)
|
:initargs (:%version :latest)
|
||||||
:version "github-866b5f5c082db0f9c7e7c78b46ed2459391c6423"))
|
:version "ql-2024-10-12"))
|
||||||
("quri" .
|
("quri" .
|
||||||
(:class qlot/source/github:source-github
|
(:class qlot/source/ql:source-ql
|
||||||
:initargs (:repos "fukamachi/quri" :ref nil :branch nil :tag nil)
|
:initargs (:%version :latest)
|
||||||
:version "github-45e0ff7f15a96ae9aef02b977375c6984d57a608"))
|
:version "ql-2024-10-12"))
|
||||||
("rove" .
|
("rove" .
|
||||||
(:class qlot/source/github:source-github
|
(:class qlot/source/git:source-git
|
||||||
:initargs (:repos "fukamachi/rove" :ref nil :branch nil :tag nil)
|
:initargs (:remote-url "https://github.com/fukamachi/rove")
|
||||||
:version "github-cacea7331c10fe9d8398d104b2dfd579bf7ea353"))
|
:version "git-cacea7331c10fe9d8398d104b2dfd579bf7ea353"))
|
||||||
("dissect" .
|
("dissect" .
|
||||||
(:class qlot/source/github:source-github
|
(:class qlot/source/git:source-git
|
||||||
:initargs (:repos "Shinmera/dissect" :ref nil :branch nil :tag nil)
|
:initargs (:remote-url "https://github.com/Shinmera/dissect")
|
||||||
:version "github-a70cabcd748cf7c041196efd711e2dcca2bbbb2c"))
|
:version "git-a70cabcd748cf7c041196efd711e2dcca2bbbb2c"))
|
||||||
("ningle" .
|
("ningle" .
|
||||||
(:class qlot/source/github:source-github
|
(:class qlot/source/git:source-git
|
||||||
:initargs (:repos "fukamachi/ningle" :ref nil :branch nil :tag nil)
|
:initargs (:remote-url "https://github.com/fukamachi/ningle")
|
||||||
:version "github-ae0c79bbd7c71633268fe3130ed4f12ca4be2f9a"))
|
:version "git-ae0c79bbd7c71633268fe3130ed4f12ca4be2f9a"))
|
||||||
|
|
Loading…
Reference in a new issue