1818 matrix :
1919 os :
2020 - ubuntu-latest
21- - macos-13
21+ - macos-latest
2222 ocaml-compiler :
23- - ocaml-variants.4.14.0 +options,ocaml-option-flambda # matches opam lock file
23+ - ocaml-variants.4.14.2 +options,ocaml-option-flambda # matches opam lock file
2424 # don't add any other because they won't be used
2525
2626 runs-on : ${{ matrix.os }}
@@ -30,25 +30,27 @@ jobs:
3030
3131 steps :
3232 - name : Checkout code
33- uses : actions/checkout@v4
33+ uses : actions/checkout@v6
3434
3535 - name : Set up OCaml ${{ matrix.ocaml-compiler }}
3636 env :
3737 # otherwise setup-ocaml pins non-locked dependencies
3838 # https://github.com/ocaml/setup-ocaml/issues/166
3939 OPAMLOCKED : locked
40- uses : ocaml/setup-ocaml@v2
40+ uses : ocaml/setup-ocaml@v3
4141 with :
4242 ocaml-compiler : ${{ matrix.ocaml-compiler }}
43- opam-depext-flags : --with-test # doesn't work (https://github.com/ocaml/opam/issues/5836)
4443
45- - name : Install graph-easy # TODO: remove if depext --with-test works
46- if : ${{ matrix.os == 'ubuntu-latest' }}
44+ - name : Install graph-easy # TODO: remove if depext --with-test works (https://github.com/ocaml/opam/issues/5836)
45+ if : ${{ startsWith( matrix.os, 'ubuntu') }}
4746 run : sudo apt install -y libgraph-easy-perl
4847
4948 - name : Install dependencies
5049 run : opam install . --deps-only --locked --with-test
5150
51+ - name : Install os gem for operating system detection
52+ run : sudo gem install os
53+
5254 - name : Build
5355 run : ./make.sh nat
5456
5860 - name : Test
5961 run : opam exec -- dune runtest
6062
61- - uses : actions/upload-artifact@v4
63+ - uses : actions/upload-artifact@v6
6264 if : always()
6365 with :
6466 name : suite_result-${{ matrix.os }}
@@ -73,27 +75,26 @@ jobs:
7375 os :
7476 - ubuntu-latest
7577 ocaml-compiler :
76- - ocaml-variants.4.14.0 +options,ocaml-option-flambda # matches opam lock file
78+ - ocaml-variants.4.14.2 +options,ocaml-option-flambda # matches opam lock file
7779 # don't add any other because they won't be used
7880
7981 runs-on : ${{ matrix.os }}
8082
8183 steps :
8284 - name : Checkout code
83- uses : actions/checkout@v4
85+ uses : actions/checkout@v6
8486
8587 - name : Set up OCaml ${{ matrix.ocaml-compiler }}
8688 env :
8789 # otherwise setup-ocaml pins non-locked dependencies
8890 # https://github.com/ocaml/setup-ocaml/issues/166
8991 OPAMLOCKED : locked
90- uses : ocaml/setup-ocaml@v2
92+ uses : ocaml/setup-ocaml@v3
9193 with :
9294 ocaml-compiler : ${{ matrix.ocaml-compiler }}
93- opam-depext-flags : --with-test # doesn't work (https://github.com/ocaml/opam/issues/5836)
9495
95- - name : Install graph-easy # TODO: remove if depext --with-test works
96- if : ${{ matrix.os == 'ubuntu-latest' }}
96+ - name : Install graph-easy # TODO: remove if depext --with-test works (https://github.com/ocaml/opam/issues/5836)
97+ if : ${{ startsWith( matrix.os, 'ubuntu') }}
9798 run : sudo apt install -y libgraph-easy-perl
9899
99100 - name : Install spin
@@ -102,60 +103,11 @@ jobs:
102103 - name : Install dependencies
103104 run : opam install . --deps-only --locked --with-test
104105
106+ - name : Install os gem for operating system detection
107+ run : sudo gem install os
108+
105109 - name : Build
106110 run : ./make.sh nat
107111
108112 - name : Test extraction
109113 run : opam exec -- dune runtest tests/extraction
110-
111-
112- gobview :
113- strategy :
114- fail-fast : false
115- matrix :
116- os :
117- - ubuntu-latest
118- ocaml-compiler :
119- - ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file
120- # don't add any other because they won't be used
121- node-version :
122- - 14
123-
124- runs-on : ${{ matrix.os }}
125-
126- steps :
127- - name : Checkout code
128- uses : actions/checkout@v4
129-
130- - name : Set up OCaml ${{ matrix.ocaml-compiler }}
131- env :
132- # otherwise setup-ocaml pins non-locked dependencies
133- # https://github.com/ocaml/setup-ocaml/issues/166
134- OPAMLOCKED : locked
135- uses : ocaml/setup-ocaml@v2
136- with :
137- ocaml-compiler : ${{ matrix.ocaml-compiler }}
138-
139- - name : Set up Node.js ${{ matrix.node-version }}
140- uses : actions/setup-node@v4
141- with :
142- node-version : ${{ matrix.node-version }}
143-
144- - name : Install dependencies
145- run : opam install . --deps-only --locked
146-
147- - name : Setup Gobview
148- run : ./make.sh setup_gobview
149-
150- - name : Build
151- run : ./make.sh nat
152-
153- - name : Build Gobview
154- run : ./make.sh view
155-
156- - name : Install selenium
157- run : pip3 install selenium webdriver-manager
158-
159- - name : Test Gobview
160- run : |
161- python3 scripts/test-gobview.py
0 commit comments