Skip to content

GitHub Action to operation on a Lisp System with ASDF

License

Notifications You must be signed in to change notification settings

melusina-org/asdf-operate

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action to Operate on ASDF Systems

This GitHub Action performs ASDF operations on Common Lisp systems.

Continuous Integration

This action is complemented by other actions related to the Common Lisp eco system:

Usage

Create a workflow file in the.github/workflows directory of your working copy. This workflow file should use a MacOS runner or a Ubuntu Runner and use the branch v1 of this action.

An example workflow is available below. See the GitHub Help Documentation for Creating a workflow file to get started with GitHub workflows.

Outcomes

Once the action has been executed succesfully, the required ASDF operation has been performed on the selected Common Lisp system, using the selected Common Lisp implementation.

Inputs

  • implementation — The Common Lisp implementation to setup QuickLisp for. This can be one of the values abcl ecl sbcl and in the future we would like to support all of abcl clasp clisp ecl gcl sbcl and maybe other implementations. Please open an issue to express interest for other implementations.

  • system: The Common Lisp system to operate on.

  • operation: The ASDF operation to perform.

Outputs

This action has no outputs.

Example Workflow

name: 'Continuous Integration'
on:
  - workflow_dispatch
  - push

jobs:
  exercise-on-tier-1-platforms:
    strategy:
      matrix:
        implementation: ['abcl', 'ecl', 'sbcl']
        os: ['ubuntu-latest', 'macos-11', 'macos-12', 'macos-13']
    runs-on: '${{ matrix.os }}'
    name: 'Install Common Lisp'
    steps:
      - uses: actions/checkout@v3
      - name: 'Install MacPorts'
        if: runner.os == 'macOS'
        uses: melusina-org/setup-macports@v1
      - uses: melusina-org/setup-common-lisp@v1
        with:
          implementation: '${{ matrix.implementation }}'
      - uses: melusina-org/setup-quicklisp@v1
        with:
          implementation: '${{ matrix.implementation }}'
      - uses: melusina-org/asdf-operate@v1
        with:
          implementation: '${{ matrix.implementation }}'
          system: 'alexandria'
          operation: 'compile-op'

License

The scripts and documentation in this project are released under the MIT License