-
Notifications
You must be signed in to change notification settings - Fork 4
57 lines (41 loc) · 1.2 KB
/
test.yml
File metadata and controls
57 lines (41 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Test
on:
push:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system:
- ubuntu-latest
# logtalk-actions/setup-swi-prolog@master does not work with windows, so a different solution would be required
# - windows-latest
node-version:
- 20.x
- 22.x
- 24.x
steps:
- name: Install prolog
uses: logtalk-actions/setup-swi-prolog@master
- name: Clone EYE repo
uses: actions/checkout@v4
with:
repository: eyereasoner/eye
- name: Build EYE
run: bash install.sh --prefix=$HOME/.local # This folder is available on $PATH already
- name: Checkout main branch
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Enable Node.js Corepack
run: corepack enable
- name: Yarn install
run: yarn install
- name: Test
run: yarn test