File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,16 @@ jobs:
1111 strategy :
1212 fail-fast : false
1313 matrix :
14- os : [macos-latest, ubuntu-18.04, windows-latest]
14+ os : [macos-latest, macos-arm, ubuntu-18.04, windows-latest]
1515 # syntax explanation:
1616 # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-additional-values-into-combinations
1717 include :
1818 - os : macos-latest
1919 build : eval $(opam env) && cd analysis && make test
2020 artifact-folder : darwin
21+ - os : macos-arm
22+ build : eval $(opam env) && cd analysis && make test
23+ artifact-folder : darwinarm64
2124 - os : ubuntu-18.04
2225 build : eval $(opam env) && cd analysis && make test
2326 artifact-folder : linux
4851 ocaml-compiler : 4.12.x
4952
5053 - name : Use Node.js
51- uses : actions/setup-node@v2.1.5
54+ uses : actions/setup-node@v3
5255 with :
53- node-version : 14.4.0
56+ node-version : 16
5457
5558 - run : npm ci
5659 - run : opam install dune
@@ -101,6 +104,14 @@ jobs:
101104 - run : tar -xvf binary.tar
102105 working-directory : ./server/analysis_binaries
103106
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+
104115 - name : Download Linux binary
105116 uses : actions/download-artifact@v3.0.0
106117 with :
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export let analysisDevPath = path.join(
2323export let analysisProdPath = path . join (
2424 path . dirname ( __dirname ) ,
2525 "analysis_binaries" ,
26- process . platform ,
26+ platformDir ,
2727 "rescript-editor-analysis.exe"
2828) ;
2929
You can’t perform that action at this time.
0 commit comments