Skip to content
GitHub Action to run 32-bit or 64-bit PicoLisp code
CoffeeScript
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
.gitignore
LICENSE
README.md
action.yml
index.coffee
package-lock.json
package.json

README.md

GitHub Action to run 32-bit or 64-bit PicoLisp code

This action downloads, compiles, and globally installs PicoLisp. It can be used to run PicoLisp code such as units tests.

Example PicoLisp tests

Inputs

version

Optional The version of PicoLisp. Default 19.6. Accepts 19.6, 18.12, 18.6, 17.12, latest

architecture

Optional The architecture of PicoLisp (32 or 64-bit). Default src64. Accepts src, src64

Example usage

- uses: aw/picolisp-action@v1
  with:
    version: 18.12
    architecture: src64

- name: Print Hello World with the full PicoLisp version number
  run: pil -'prin "Hello World: "' -version -bye

Example workflow

See the picolisp-json workflow for a more detailed usage example.

Code

This action is written in CoffeeScript, see index.coffee

Notes

  • Unknown values will be replaced with the default value (ex: version: 1.2.3, will become version: 19.6)
  • The PicoLisp environment is extracted to /tmp/picoLisp
  • 32-bit PicoLisp is always compiled
  • 64-bit PicoLisp is bootstrapped from the 32-bit PicoLisp
  • 64-bit PicoLisp will not be compiled if the architecture value is src

Build

To build this action:

  • Install NodeJS v12
  • Install the dev dependencies with npm install
  • Generate the dist/index.js with npm run build

License

MIT License

Copyright (c) 2019 Alexander Williams, Unscramble license@unscramble.jp

You can’t perform that action at this time.