-
Notifications
You must be signed in to change notification settings - Fork 4
71 lines (50 loc) · 1.3 KB
/
test.yml
File metadata and controls
71 lines (50 loc) · 1.3 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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
- 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: Test swipl
run: swipl --version
- name: Test clone
run: cat install.sh
- name: Build EYE
run: bash install.sh --prefix=/usr/local
- name: Show PATH
run: echo $PATH
- name: Test EYE 1
run: /usr/local/bin/eye --version
- name: Test EYE 2
run: eye --version
- 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