|
57 | 57 |
|
58 | 58 | - name: Install dependencies
|
59 | 59 | run: opam install . --deps-only --with-test
|
| 60 | + |
| 61 | + - name: Install os gem for operating system detection |
| 62 | + run: sudo gem install os |
60 | 63 |
|
61 | 64 | - name: Install Apron dependencies
|
62 | 65 | if: ${{ matrix.apron }}
|
@@ -118,6 +121,9 @@ jobs:
|
118 | 121 | - name: Install dependencies
|
119 | 122 | run: opam install . --deps-only --with-test
|
120 | 123 |
|
| 124 | + - name: Install os gem for operating system detection |
| 125 | + run: sudo gem install os |
| 126 | + |
121 | 127 | - name: Install Apron dependencies
|
122 | 128 | run: |
|
123 | 129 | opam depext apron
|
@@ -251,3 +257,49 @@ jobs:
|
251 | 257 |
|
252 | 258 | - name: Test incremental regression with cfg comparison
|
253 | 259 | run: ruby scripts/update_suite.rb -c
|
| 260 | + |
| 261 | + gobview: |
| 262 | + strategy: |
| 263 | + fail-fast: false |
| 264 | + matrix: |
| 265 | + os: |
| 266 | + - ubuntu-22.04 # https://github.com/ocaml/setup-ocaml/issues/872 |
| 267 | + ocaml-compiler: |
| 268 | + - ocaml-variants.5.0.0+options,ocaml-option-flambda |
| 269 | + node-version: |
| 270 | + - 14 |
| 271 | + |
| 272 | + runs-on: ${{ matrix.os }} |
| 273 | + |
| 274 | + steps: |
| 275 | + - name: Checkout code |
| 276 | + uses: actions/checkout@v4 |
| 277 | + |
| 278 | + - name: Set up OCaml ${{ matrix.ocaml-compiler }} |
| 279 | + uses: ocaml/setup-ocaml@v3 |
| 280 | + with: |
| 281 | + ocaml-compiler: ${{ matrix.ocaml-compiler }} |
| 282 | + |
| 283 | + - name: Set up Node.js ${{ matrix.node-version }} |
| 284 | + uses: actions/setup-node@v4 |
| 285 | + with: |
| 286 | + node-version: ${{ matrix.node-version }} |
| 287 | + |
| 288 | + - name: Install dependencies |
| 289 | + run: opam install . --deps-only |
| 290 | + |
| 291 | + - name: Setup Gobview |
| 292 | + run: ./make.sh setup_gobview |
| 293 | + |
| 294 | + - name: Build |
| 295 | + run: ./make.sh nat |
| 296 | + |
| 297 | + - name: Build Gobview |
| 298 | + run: ./make.sh view |
| 299 | + |
| 300 | + - name: Install selenium |
| 301 | + run: pip3 install selenium webdriver-manager |
| 302 | + |
| 303 | + - name: Test Gobview |
| 304 | + run: | |
| 305 | + python3 scripts/test-gobview.py |
0 commit comments