-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
name: ${{ matrix.lisp }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
lisp: [sbcl-bin] | ||
os: [ubuntu-latest] # , macOS-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install SDL2 | ||
run: | | ||
sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev | ||
- name: Install Roswell | ||
env: | ||
LISP: ${{ matrix.lisp }} | ||
run: | | ||
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh | ||
- name: Run tests | ||
run: | | ||
./tests/test.ros |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
#|-*- mode:lisp -*-|# | ||
#| | ||
exec ros -Q -- $0 "$@" | ||
|# | ||
(progn ;;init forms | ||
(ros:ensure-asdf) | ||
#+quicklisp(ql:quickload '(sdl2-tutorial sdl2-tutorial/tests) :silent t)) | ||
|
||
(defpackage :ros.script.test | ||
(:use :cl)) | ||
(in-package :ros.script.test) | ||
|
||
(defun main (&rest argv) | ||
(declare (ignorable argv)) | ||
(asdf:test-system :sdl2-tutorial)) | ||
;;; vim: set ft=lisp lisp: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
(defpackage #:sdl2-tutorial-tests | ||
(:use :cl :parachute)) | ||
|
||
(in-package #:sdl2-tutorial-tests) | ||
|
||
(define-test hello | ||
(true t)) |