You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
PicoLisp Action
v2
This action downloads, compiles, and globally installs PicoLisp. It can be used to run PicoLisp code such as units tests.
Optional The version of PicoLisp. Default '20.6'. Accepts 19.12
, 19.6
, 18.12
, 18.6
, 17.12
, latest
, pil21
Optional The architecture of PicoLisp (32 or 64-bit). Default src64
. Accepts src
, src64
- uses: aw/picolisp-action@v2
with:
version: 18.12
architecture: src64
- name: Print Hello World with the full PicoLisp version number
run: pil -'prin "Hello World: "' -version -bye
See the picolisp-json workflow for a more detailed usage example.
This action is written in CoffeeScript, see index.coffee
- Unknown values will be replaced with the default value (ex: version: 1.2.3, will become version: 19.12)
- 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 issrc
pil21
technically only works on 64-bit architectures
To build this action:
- Install
NodeJS v12
- Install the dev dependencies with
npm install
- Generate the
dist/index.js
withnpm run build
- [August 28, 2020]
v2.2.0
- Add support for building and testing with PicoLisp 21:
pil21
- Add support for building and testing with PicoLisp 21:
- [July 27, 2020]
v2.1.0
- Force
curl
to usehttp1.1
when fetching the PicoLisp source code. - Update default PicoLisp version to 20.6
- Force
Copyright (c) 2019-2020 Alexander Williams, Unscramble license@unscramble.jp