Commit ddcf85c 1 parent b407a57 commit ddcf85c Copy full SHA for ddcf85c
File tree 2 files changed +9
-21
lines changed
2 files changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -3,32 +3,25 @@ name: Main workflow
3
3
on :
4
4
- pull_request
5
5
- push
6
+ - schedule :
7
+ - cron : ' 0 0 * * 0' # At 00:00 UTC every Sunday
6
8
7
9
jobs :
8
10
build :
9
11
strategy :
10
12
fail-fast : false
11
13
matrix :
12
14
os :
13
- - macos-latest
14
15
- ubuntu-latest
15
- - windows-latest
16
+ node-version :
17
+ - 20.x
16
18
ocaml-compiler :
17
19
- 5.2.x
18
20
- 4.12.x
19
21
- 4.11.x
20
22
- 4.10.x
21
23
- 4.09.x
22
24
- 4.08.x
23
- exclude :
24
- - os : macos-latest
25
- ocaml-compiler : 4.11.x
26
- - os : macos-latest
27
- ocaml-compiler : 4.09.x
28
- - os : macos-latest
29
- ocaml-compiler : 4.08.x
30
- - os : windows-latest
31
- ocaml-compiler : 5.2.x
32
25
33
26
runs-on : ${{ matrix.os }}
34
27
@@ -44,11 +37,10 @@ jobs:
44
37
opam-pin : false
45
38
opam-depext : false
46
39
47
- - name : Ensure Node.js is installed (Ubuntu only)
48
- if : matrix.os == 'ubuntu-latest'
49
- run : |
50
- sudo apt-get install -y nodejs
51
- node --version
40
+ - name : Use Node.js ${{ matrix.node-version }}
41
+ uses : actions/setup-node@v2
42
+ with :
43
+ node-version : ${{ matrix.node-version }}
52
44
53
45
- run : opam pin add -ny .
54
46
Original file line number Diff line number Diff line change 4
4
(libraries landmark))
5
5
6
6
(rule
7
- (enabled_if (= %{ocaml-config:system} linux))
8
7
(deps ./test.bc.js)
9
8
(target test.out)
10
9
(action
16
15
17
16
(rule
18
17
(alias runtest)
19
- (enabled_if
20
- (and
21
- (>= %{ocaml_version} "4.04")
22
- (= %{ocaml-config:system} linux)))
18
+ (enabled_if (>= %{ocaml_version} "4.04"))
23
19
(action
24
20
(diff test.out.expected test.out)))
You can’t perform that action at this time.
0 commit comments