Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix roswell for new SBCL. #13

Merged
merged 6 commits into from
Jul 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 34 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,28 @@ jobs:
matrix:
os: [ubuntu-latest]
lisp:
- ccl
- sbcl
- ccl-bin
# - allegro Allegro from Roswell can't load FiveAM from quicklisp
- ecl
- cmu
# - clisp clisp install from Roswell does not work.
# - mkcl Tests not implemented on mkcl
# - abcl ABCL install from Roswell does not work
- sbcl-bin

env:
LISP: ${{ matrix.lisp }}

steps:
- name: prepare
uses: 40ants/setup-lisp@v2
# - name: Collect prerequisites
# shell: bash
# if: ${{ matrix.lisp == 'sbcl' }}
# run: |
# sudo apt-get update
# sudo apt-get install -y zlib1g-dev nlibzstd-dev

- uses: actions/checkout@v2

- name: Checkout submodules
Expand All @@ -39,29 +51,28 @@ jobs:
git submodule update --init --recursive

# Lisp setup copied from here: https://github.com/3b/ci-example/blob/master/.github/workflows/CI.yml
- name: cache .roswell
id: cache-dot-roswell
uses: actions/cache@v1
with:
path: ~/.roswell
key: ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-${{ hashFiles('**/*.asd') }}
restore-keys: |
${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-
${{ runner.os }}-dot-roswell-
# - name: cache .roswell
# id: cache-dot-roswell
# uses: actions/cache@v1
# with:
# path: ~/.roswell
# key: ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-${{ hashFiles('**/*.asd') }}
# restore-keys: |
# ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-
# ${{ runner.os }}-dot-roswell-

- name: install roswell
shell: bash
# always run install, since it does some global installs and setup that isn't cached
env:
LISP: ${{ matrix.lisp }}
# Use a previous release of Roswell to avoid error encountered
# due to libcurl3 not being available.
# Source of fix: https://github.com/avodonosov/drakma/commit/fbba29181ba2962f5031da581bd2de4dac98733d
run: |
sudo apt-get install -y libcurl4
curl -L https://raw.githubusercontent.com/roswell/roswell/a8fd8a3c33078d6f06e6cda9d099dcba6fbefcb7/scripts/install-for-ci.sh | sh
# - name: install roswell
# shell: bash
# # always run install, since it does some global installs and setup that isn't cached
# env:
# LISP: ${{ matrix.lisp }}
# # Use a previous release of Roswell to avoid error encountered
# # due to libcurl3 not being available.
# # Source of fix: https://github.com/avodonosov/drakma/commit/fbba29181ba2962f5031da581bd2de4dac98733d
# run: |
# sudo apt-get install -y libcurl4
# curl -L https://raw.githubusercontent.com/roswell/roswell/a8fd8a3c33078d6f06e6cda9d099dcba6fbefcb7/scripts/install-for-ci.sh | sh

# Compile first in a separate step to make the test output more readable
- name: tests
shell: bash
run: |
Expand Down