Update GitHub Action #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Checkout Scryer Prolog | |
uses: actions/checkout@v3 | |
with: | |
repository: mthom/scryer-prolog | |
path: scryer-prolog | |
- name: Compile Scryer Prolog | |
run: cargo build --release | |
working-directory: scryer-prolog | |
- name: Install Scryer Prolog | |
run: sudo cp scryer-prolog/target/release/scryer-prolog /usr/bin/scryer-prolog | |
- name: Install Logtalk | |
uses: logtalk-actions/setup-logtalk@master | |
with: | |
logtalk-version: 3.70.0 | |
- name: Execute tests | |
run: logtalk_tester -p scryer |