File tree 2 files changed +15
-4
lines changed
2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,16 @@ jobs:
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- os : [macos-latest, ubuntu-18.04, windows-latest]
14
+ os : [macos-latest, macos-arm, ubuntu-18.04, windows-latest]
15
15
# syntax explanation:
16
16
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-additional-values-into-combinations
17
17
include :
18
18
- os : macos-latest
19
19
build : eval $(opam env) && cd analysis && make test
20
20
artifact-folder : darwin
21
+ - os : macos-arm
22
+ build : eval $(opam env) && cd analysis && make test
23
+ artifact-folder : darwinarm64
21
24
- os : ubuntu-18.04
22
25
build : eval $(opam env) && cd analysis && make test
23
26
artifact-folder : linux
48
51
ocaml-compiler : 4.12.x
49
52
50
53
- name : Use Node.js
51
- uses : actions/setup-node@v2.1.5
54
+ uses : actions/setup-node@v3
52
55
with :
53
- node-version : 14.4.0
56
+ node-version : 16
54
57
55
58
- run : npm ci
56
59
- run : opam install dune
@@ -101,6 +104,14 @@ jobs:
101
104
- run : tar -xvf binary.tar
102
105
working-directory : ./server/analysis_binaries
103
106
107
+ - name : Download MacOS ARM binary
108
+ uses : actions/download-artifact@v3.0.0
109
+ with :
110
+ name : macos-arm
111
+ path : ./server/analysis_binaries
112
+ - run : tar -xvf binary.tar
113
+ working-directory : ./server/analysis_binaries
114
+
104
115
- name : Download Linux binary
105
116
uses : actions/download-artifact@v3.0.0
106
117
with :
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export let analysisDevPath = path.join(
23
23
export let analysisProdPath = path . join (
24
24
path . dirname ( __dirname ) ,
25
25
"analysis_binaries" ,
26
- process . platform ,
26
+ platformDir ,
27
27
"rescript-editor-analysis.exe"
28
28
) ;
29
29
You can’t perform that action at this time.
0 commit comments