From 649bdfa792a3972dc0a0074478a0a0aac731894f Mon Sep 17 00:00:00 2001 From: "Pierre R. Mai" Date: Tue, 16 Feb 2021 09:52:05 +0100 Subject: [PATCH] Add initial support for Actions CI using roswell --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ .travis.yml | 25 ------------------------- README.md | 2 +- 3 files changed, 39 insertions(+), 26 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..82ac599 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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))' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 298d49b..0000000 --- a/.travis.yml +++ /dev/null @@ -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))' diff --git a/README.md b/README.md index 29c321a..38b8c62 100644 --- a/README.md +++ b/README.md @@ -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 in [RFC 1321][] by R. Rivest, published April 1992.