File tree Expand file tree Collapse file tree 2 files changed +57
-34
lines changed
Expand file tree Collapse file tree 2 files changed +57
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ name : Test
3+
4+ on :
5+ push :
6+
7+ concurrency :
8+ group : ${{ github.head_ref || github.run_id }}
9+ cancel-in-progress : true
10+
11+ jobs :
12+
13+ build :
14+
15+ runs-on : ${{ matrix.operating-system }}
16+
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ operating-system :
21+ - ubuntu-latest
22+ # logtalk-actions/setup-swi-prolog@master does not work with windows, so a different solution would be required
23+ # - windows-latest
24+ node-version :
25+ - 20.x
26+ - 22.x
27+ - 24.x
28+
29+ steps :
30+
31+ - name : Install prolog
32+ uses : logtalk-actions/setup-swi-prolog@master
33+
34+ - name : Clone EYE repo
35+ uses : actions/checkout@v4
36+ with :
37+ repository : eyereasoner/eye
38+
39+ - name : Build EYE
40+ run : bash install.sh --prefix=$HOME/.local # This folder is available on $PATH already
41+
42+ - name : Checkout main branch
43+ uses : actions/checkout@v4
44+
45+ - name : Use Node.js ${{ matrix.node-version }}
46+ uses : actions/setup-node@v4
47+ with :
48+ node-version : ${{ matrix.node-version }}
49+
50+ - name : Enable Node.js Corepack
51+ run : corepack enable
52+
53+ - name : Yarn install
54+ run : yarn install
55+
56+ - name : Test
57+ run : yarn test
You can’t perform that action at this time.
0 commit comments