3030
3131 steps :
3232 - name : Checkout code
33- uses : actions/checkout@v4
33+ uses : actions/checkout@v5
3434
3535 - name : Set up OCaml ${{ matrix.ocaml-compiler }}
3636 env :
@@ -41,13 +41,16 @@ jobs:
4141 with :
4242 ocaml-compiler : ${{ matrix.ocaml-compiler }}
4343
44- - name : Install graph-easy # TODO: remove if depext --with-test works
44+ - name : Install graph-easy # TODO: remove if depext --with-test works (https://github.com/ocaml/opam/issues/5836)
4545 if : ${{ matrix.os == 'ubuntu-22.04' }}
4646 run : sudo apt install -y libgraph-easy-perl
4747
4848 - name : Install dependencies
4949 run : opam install . --deps-only --locked --with-test
5050
51+ - name : Install os gem for operating system detection
52+ run : sudo gem install os
53+
5154 - name : Build
5255 run : ./make.sh nat
5356
5760 - name : Test
5861 run : opam exec -- dune runtest
5962
60- - uses : actions/upload-artifact@v4
63+ - uses : actions/upload-artifact@v5
6164 if : always()
6265 with :
6366 name : suite_result-${{ matrix.os }}
7982
8083 steps :
8184 - name : Checkout code
82- uses : actions/checkout@v4
85+ uses : actions/checkout@v5
8386
8487 - name : Set up OCaml ${{ matrix.ocaml-compiler }}
8588 env :
9093 with :
9194 ocaml-compiler : ${{ matrix.ocaml-compiler }}
9295
93- - name : Install graph-easy # TODO: remove if depext --with-test works
96+ - name : Install graph-easy # TODO: remove if depext --with-test works (https://github.com/ocaml/opam/issues/5836)
9497 if : ${{ matrix.os == 'ubuntu-22.04' }}
9598 run : sudo apt install -y libgraph-easy-perl
9699
@@ -100,60 +103,11 @@ jobs:
100103 - name : Install dependencies
101104 run : opam install . --deps-only --locked --with-test
102105
106+ - name : Install os gem for operating system detection
107+ run : sudo gem install os
108+
103109 - name : Build
104110 run : ./make.sh nat
105111
106112 - name : Test extraction
107113 run : opam exec -- dune runtest tests/extraction
108-
109-
110- gobview :
111- strategy :
112- fail-fast : false
113- matrix :
114- os :
115- - ubuntu-22.04 # https://github.com/ocaml/setup-ocaml/issues/872
116- ocaml-compiler :
117- - ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file
118- # don't add any other because they won't be used
119- node-version :
120- - 14
121-
122- runs-on : ${{ matrix.os }}
123-
124- steps :
125- - name : Checkout code
126- uses : actions/checkout@v4
127-
128- - name : Set up OCaml ${{ matrix.ocaml-compiler }}
129- env :
130- # otherwise setup-ocaml pins non-locked dependencies
131- # https://github.com/ocaml/setup-ocaml/issues/166
132- OPAMLOCKED : locked
133- uses : ocaml/setup-ocaml@v3
134- with :
135- ocaml-compiler : ${{ matrix.ocaml-compiler }}
136-
137- - name : Set up Node.js ${{ matrix.node-version }}
138- uses : actions/setup-node@v4
139- with :
140- node-version : ${{ matrix.node-version }}
141-
142- - name : Install dependencies
143- run : opam install . --deps-only --locked
144-
145- - name : Setup Gobview
146- run : ./make.sh setup_gobview
147-
148- - name : Build
149- run : ./make.sh nat
150-
151- - name : Build Gobview
152- run : ./make.sh view
153-
154- - name : Install selenium
155- run : pip3 install selenium webdriver-manager
156-
157- - name : Test Gobview
158- run : |
159- python3 scripts/test-gobview.py
0 commit comments