File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check ocaml-lsp compat
2
+
3
+ # Controls when the action will run. Triggers the workflow on push or pull request
4
+ # events but only for the master branch
5
+ on :
6
+ push :
7
+ branches : [ master ]
8
+ paths-ignore :
9
+ - ' **.md'
10
+ - ' **.txt'
11
+ - ' .git*'
12
+ - ' doc/**'
13
+ - ' emacs/**'
14
+ - ' vim/**'
15
+ - ' **/emacs-lint.yml'
16
+ pull_request :
17
+ branches : [ master ]
18
+ paths-ignore :
19
+ - ' **.md'
20
+ - ' **.txt'
21
+ - ' .git*'
22
+ - ' doc/**'
23
+ - ' emacs/**'
24
+ - ' vim/**'
25
+ - ' **/emacs-lint.yml'
26
+
27
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
28
+ jobs :
29
+ # This workflow contains a single job called "build"
30
+ build :
31
+ strategy :
32
+ fail-fast : false
33
+ matrix :
34
+ os :
35
+ - ubuntu-latest
36
+ ocaml-compiler :
37
+ - 4.14.x
38
+ # The type of runner that the job will run on
39
+ runs-on : ${{ matrix.os }}
40
+
41
+ # Steps represent a sequence of tasks that will be executed as part of the job
42
+ steps :
43
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
44
+ - uses : actions/checkout@v3
45
+
46
+ - name : Set up OCaml ${{ matrix.ocaml-compiler }}
47
+ uses : ocaml/setup-ocaml@v2
48
+ with :
49
+ # Version of the OCaml compiler to initialise
50
+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
51
+
52
+ - name : Check that Merlin and OCaml-LSP are co-installable
53
+ run : |
54
+ opam depext conf-jq # opam depext bug
55
+ opam --cli=2.1 pin --with-version=dev --no-action https://github.com/ocaml/ocaml-lsp.git
56
+ opam --cli=2.1 pin --with-version=dev --no-action .
57
+ opam install ocaml-lsp-server --with-test --ignore-constraints-on=merlin-lib
58
+
You can’t perform that action at this time.
0 commit comments