Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.37 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.37 KB

setup-swi-prolog

This actions sets up a SWI-Prolog environment for use in workflows.

Usage

See action.yml for the action metadata. The optional swi-prolog-branch input parameter (stable or devel; devel by default) allows selecting the branch. The required swi-prolog-version input parameter specifies the version to be installed (latest or version number, e.g. 8.1.15; default is latest).

Example

on: push

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Install SWI-Prolog backend
        uses: logtalk-actions/setup-swi-prolog@master
        with:
          swi-prolog-branch: devel
          swi-prolog-version: latest
      - name: Install Logtalk
        uses: logtalk-actions/setup-logtalk@master
        with:
          logtalk-version: latest
      - name: Checkout Logtalk application to be tested
        uses: actions/checkout@v1
      - name: Run all tests in the application directory
        run: logtalk_tester -p swi

Contributing

Contributions are most welcome. Contributors are expected to uphold the code of conduct.

License

This project is released under the Apache License 2.0.

Current Status

This action is in active development. This action only supports Linux at this time.