Merge pull request #5 from pmai/feature/github-actions-ci

Add initial support for Actions CI using roswell
This commit is contained in:
2021-06-22 21:45:56 +02:00
committed by GitHub
3 changed files with 39 additions and 26 deletions

38
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: Common Lisp CI
on:
push:
pull_request:
branches: [ master ]
jobs:
test:
name: ${{ matrix.lisp }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
lisp: [sbcl-bin, clisp]
os: [ubuntu-latest, macOS-latest]
exclude:
# CLISP currently does not build on ubuntu due to readline7
- lisp: clisp
os: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Roswell
env:
LISP: ${{ matrix.lisp }}
run: |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
- name: Build and Run Tests
run: |
ros -e '(pushnew :md5-testing cl:*features*)
(ql:quickload "md5")
(unless (md5::test-rfc1321)
(uiop:quit 1))
(unless (md5::test-other)
(uiop:quit 1))'

View File

@ -1,25 +0,0 @@
language: lisp
sudo: required
env:
matrix:
- LISP=abcl
- LISP=allegro
- LISP=sbcl
- LISP=sbcl32
- LISP=ccl
- LISP=ccl32
- LISP=clisp
- LISP=clisp32
- LISP=ecl
install:
- curl -L https://github.com/luismbo/cl-travis/raw/master/install.sh | sh
script:
- cl -e '(pushnew :md5-testing cl:*features*)
(ql:quickload "md5")
(unless (md5::test-rfc1321)
(uiop:quit 1))
(unless (md5::test-other)
(uiop:quit 1))'

View File

@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/pmai/md5.svg?branch=master)](https://travis-ci.org/pmai/md5) [![Build Status](https://github.com/pmai/md5/actions/workflows/ci.yml/badge.svg)](https://github.com/pmai/md5/actions/workflows/ci.yml)
This package implements The MD5 Message-Digest Algorithm, as defined This package implements The MD5 Message-Digest Algorithm, as defined
in [RFC 1321][] by R. Rivest, published April 1992. in [RFC 1321][] by R. Rivest, published April 1992.