From d40aed9446fadd9377b8b43386e98bac9e22ce0d Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Tue, 2 Feb 2021 11:09:28 +0300 Subject: [PATCH] Run ros script. --- .github/actions/setup/action.yml | 14 +++++++++----- .github/actions/setup/templater.ros | 20 ++++++++++++++++++++ .github/workflows/install.yml | 2 +- 3 files changed, 30 insertions(+), 6 deletions(-) create mode 100755 .github/actions/setup/templater.ros diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index b0e8f7c..fe7314c 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -65,12 +65,16 @@ runs: #+quicklisp (ql:quickload '() :silent t)) - (format t "Hello World!~%") + (defun main () + (format t "Lisp: ~A ~A~%ASDF: ~A~%" + (lisp-implementation-version) + (lisp-implementation-type) + (asdf:asdf-version))) - - name: Test - shell: bash - run: | - echo ${{ inputs.qlfile-template }} > qlfile + # - name: Test + # shell: bash + # run: | + # echo ${{ inputs.qlfile-template }} > qlfile # - name: Install Dependencies # shell: bash # run: | diff --git a/.github/actions/setup/templater.ros b/.github/actions/setup/templater.ros new file mode 100755 index 0000000..eba3734 --- /dev/null +++ b/.github/actions/setup/templater.ros @@ -0,0 +1,20 @@ +#!/bin/sh +#|-*- mode:lisp -*-|# +#| +exec ros -Q -- $0 "$@" +|# +(progn + (ros:ensure-asdf) + #+quicklisp + (ql:quickload '(cl-mustache) + :silent t)) + +(defpackage :ros.script.templater + (:use :cl)) +(in-package :ros.script.templater) + + +(defun main (&rest argv) + (declare (ignorable argv))) + +;;; vim: set ft=lisp lisp: diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 8ffee4b..e56196f 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -27,7 +27,7 @@ jobs: # - ultralisp lisp: - sbcl-bin - # - ccl-bin + - ccl-bin # - ecl # - abcl # - allegro