Skip to content

Commit

Permalink
Add CI action for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-coram committed Jun 18, 2023
1 parent b8786c6 commit d00e4e4
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'

jobs:
test:
name: ${{ matrix.lisp }} / ${{ matrix.quicklisp-dist }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
lisp: [sbcl-bin, ccl-bin/1.12.1, ecl/21.2.1]
os: [ubuntu-latest, windows-latest, macos-latest]
quicklisp-dist:
- quicklisp
- ultralisp
exclude:
- os: windows-latest
lisp: ccl-bin/1.12.1
- os: windows-latest
lisp: ecl/21.2.1
env:
LISP: ${{ matrix.lisp }}
QUICKLISP_DIST: ${{ matrix.quicklisp-dist }}
steps:
- uses: actions/checkout@v3

- name: Setup Lisp
continue-on-error: true
uses: 40ants/setup-lisp@v2
with:
qlfile-template: |
{% ifequal quicklisp_dist "ultralisp" %}
dist ultralisp http://dist.ultralisp.org
{% endifequal %}
- name: Run tests (Non-Windows)
if: runner.os != 'Windows'
shell: bash
run: |
ros install neil-lindquist/ci-utils
run-fiveam -e t -l ginkgo-time/test :ginkgo-time
- name: Run tests (Windows)
if: runner.os == 'Windows'
shell: msys2 {0}
run: |
ros install neil-lindquist/ci-utils
run-fiveam -e t -l ginkgo-time/test :ginkgo-time

0 comments on commit d00e4e4

Please sign in to comment.