Skip to content

Commit

Permalink
Merge pull request #1522 from goblint/opam-locked
Browse files Browse the repository at this point in the history
Upgrade locked opam dependencies
  • Loading branch information
sim642 authored Jul 24, 2024
2 parents 17cb66e + a323664 commit 4ca8df9
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file
- ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file
# don't add any other because they won't be used

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file
- ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file
# don't add any other because they won't be used

runs-on: ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/locked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- ubuntu-latest
- macos-13
ocaml-compiler:
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file
- ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file
# don't add any other because they won't be used

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file
- ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file
# don't add any other because they won't be used

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file
- ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file
# don't add any other because they won't be used
node-version:
- 14
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unlocked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- 5.2.x
- 5.1.x
- 5.0.x
- ocaml-variants.4.14.0+options,ocaml-option-flambda
- ocaml-variants.4.14.2+options,ocaml-option-flambda
- 4.14.x
apron:
- false
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- ubuntu-latest
- macos-13
ocaml-compiler:
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file, downgrade deps step
- ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file, downgrade deps step

name: lower-bounds (${{ matrix.os }}, ${{ matrix.ocaml-compiler }}, downgrade)

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Downgrade dependencies
# must specify ocaml-base-compiler again to prevent it from being downgraded
# prevent num downgrade to avoid dune/jbuilder error: https://github.com/ocaml/dune/issues/5280
run: opam install $(opam exec -- opam-0install --prefer-oldest goblint ocaml-variants.4.14.0+options ocaml-option-flambda num.1.5)
run: opam install $(opam exec -- opam-0install --prefer-oldest goblint ocaml-variants.4.14.2+options ocaml-option-flambda num.1.5)

- name: Build
run: ./make.sh nat
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- ubuntu-latest
- macos-13
ocaml-compiler:
- ocaml-variants.4.14.0+options,ocaml-option-flambda # matches opam lock file
- ocaml-variants.4.14.2+options,ocaml-option-flambda # matches opam lock file

runs-on: ${{ matrix.os }}

Expand Down
93 changes: 49 additions & 44 deletions goblint.opam.locked
Original file line number Diff line number Diff line change
Expand Up @@ -22,89 +22,94 @@ homepage: "https://goblint.in.tum.de"
doc: "https://goblint.readthedocs.io/en/latest/"
bug-reports: "https://github.com/goblint/analyzer/issues"
depends: [
"angstrom" {= "0.15.0"}
"angstrom" {= "0.16.0"}
"apron" {= "v0.9.15"}
"arg-complete" {= "0.1.0"}
"astring" {= "0.8.5"}
"base-bigarray" {= "base"}
"base-bytes" {= "base"}
"base-threads" {= "base"}
"base-unix" {= "base"}
"batteries" {= "3.6.0"}
"batteries" {= "3.8.0"}
"benchmark" {= "1.6" & with-test}
"bigarray-compat" {= "1.1.0"}
"bigstringaf" {= "0.9.0"}
"bigstringaf" {= "0.9.1"}
"bos" {= "0.2.1"}
"camlidl" {= "1.11"}
"camlidl" {= "1.12"}
"camlp-streams" {= "5.0.1"}
"catapult" {= "0.2"}
"catapult-file" {= "0.2"}
"cmdliner" {= "1.1.1" & with-doc}
"conf-autoconf" {= "0.1"}
"cmdliner" {= "1.3.0" & with-doc}
"conf-autoconf" {= "0.2"}
"conf-findutils" {= "1"}
"conf-gcc" {= "1.0"}
"conf-gmp" {= "4"}
"conf-mpfr" {= "3"}
"conf-gmp-paths" {= "1"}
"conf-mpfr-paths" {= "1"}
"conf-perl" {= "2"}
"conf-pkg-config" {= "2"}
"conf-ruby" {= "1.0.0" & with-test}
"conf-which" {= "1"}
"cppo" {= "1.6.9"}
"cpu" {= "2.0.0"}
"csexp" {= "1.5.1"}
"ctypes" {= "0.20.1"}
"dune" {= "3.7.1"}
"dune-build-info" {= "3.7.1"}
"dune-configurator" {= "3.7.1"}
"dune-private-libs" {= "3.7.1"}
"dune-site" {= "3.7.1"}
"dyn" {= "3.7.1"}
"crunch" {= "3.3.1" & with-doc}
"csexp" {= "1.5.2"}
"cstruct" {= "6.2.0"}
"ctypes" {= "0.22.0"}
"dune" {= "3.16.0"}
"dune-build-info" {= "3.16.0"}
"dune-configurator" {= "3.16.0"}
"dune-private-libs" {= "3.16.0"}
"dune-site" {= "3.16.0"}
"dyn" {= "3.16.0"}
"ez-conf-lib" {= "2"}
"fileutils" {= "0.6.4"}
"fmt" {= "0.9.0"}
"fpath" {= "0.7.3"}
"goblint-cil" {= "2.0.3"}
"hex" {= "1.5.0"}
"integers" {= "0.7.0"}
"json-data-encoding" {= "0.12.1"}
"jsonrpc" {= "1.15.0~5.0preview1"}
"json-data-encoding" {= "1.0.1"}
"jsonrpc" {= "1.17.0"}
"logs" {= "0.7.0"}
"mlgmpidl" {= "1.2.15"}
"num" {= "1.4"}
"ocaml" {= "4.14.0"}
"mlgmpidl" {= "1.3.0"}
"num" {= "1.5"}
"ocaml" {= "4.14.2"}
"ocaml-compiler-libs" {= "v0.12.4"}
"ocaml-config" {= "2"}
"ocaml-option-flambda" {= "1"}
"ocaml-syntax-shims" {= "1.0.0"}
"ocaml-variants" {= "4.14.0+options"}
"ocamlbuild" {= "0.14.2"}
"ocamlfind" {= "1.9.5"}
"odoc" {= "2.2.0" & with-doc}
"odoc-parser" {= "2.0.0" & with-doc}
"ordering" {= "3.7.1"}
"ounit2" {= "2.2.6" & with-test}
"pp" {= "1.1.2"}
"ocaml-variants" {= "4.14.2+options"}
"ocamlbuild" {= "0.14.3"}
"ocamlfind" {= "1.9.6"}
"odoc" {= "2.4.2" & with-doc}
"odoc-parser" {= "2.4.2" & with-doc}
"ordering" {= "3.16.0"}
"ounit2" {= "2.2.7" & with-test}
"pp" {= "1.2.0"}
"ppx_derivers" {= "1.2.1"}
"ppx_deriving" {= "6.0.2"}
"ppx_deriving_hash" {= "0.1.2"}
"ppx_deriving_yojson" {= "3.7.0"}
"ppx_deriving_yojson" {= "3.8.0"}
"ppxlib" {= "0.32.1"}
"qcheck-core" {= "0.20"}
"qcheck-ounit" {= "0.20" & with-test}
"re" {= "1.10.4" & with-doc}
"result" {= "1.5"}
"ptime" {= "1.1.0" & with-doc}
"qcheck-core" {= "0.21.3"}
"qcheck-ounit" {= "0.21.3" & with-test}
"re" {= "1.11.0" & with-doc}
"result" {= "1.5" & with-doc}
"rresult" {= "0.7.0"}
"seq" {= "base"}
"sexplib0" {= "v0.15.1"}
"sha" {= "1.15.2"}
"sexplib0" {= "v0.16.0"}
"sha" {= "1.15.4"}
"stdlib-shims" {= "0.3.0"}
"stdune" {= "3.7.1"}
"stdune" {= "3.16.0"}
"stringext" {= "1.6.0"}
"topkg" {= "1.0.6"}
"tyxml" {= "4.5.0" & with-doc}
"uri" {= "4.2.0"}
"topkg" {= "1.0.7"}
"tyxml" {= "4.6.0" & with-doc}
"uri" {= "4.4.0"}
"uuidm" {= "0.9.8"}
"uutf" {= "1.0.3" & with-doc}
"yaml" {= "3.1.0"}
"yojson" {= "2.0.2"}
"zarith" {= "1.12"}
"yaml" {= "3.2.0"}
"yojson" {= "2.2.1"}
"zarith" {= "1.13"}
]
build: [
["dune" "subst"] {dev}
Expand Down
2 changes: 1 addition & 1 deletion gobview
2 changes: 1 addition & 1 deletion make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ opam_setup() {
set -x
opam init -y -a --bare $SANDBOXING # sandboxing is disabled in travis and docker
opam update
opam switch -y create . --deps-only --packages=ocaml-variants.4.14.0+options,ocaml-option-flambda --locked
opam switch -y create . --deps-only --packages=ocaml-variants.4.14.2+options,ocaml-option-flambda --locked
}

rule() {
Expand Down
8 changes: 8 additions & 0 deletions scripts/test-gobview.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from threading import Thread
import subprocess

Expand All @@ -17,6 +18,11 @@
# cleanup
def cleanup(browser, thread):
print("cleanup")

# print messages
for entry in browser.get_log('browser'):
print(entry)

browser.close()
p.kill()
thread.join()
Expand All @@ -35,6 +41,8 @@ def serve():
print("starting installation of browser\n")
options = Options()
options.add_argument('headless')
# options.set_capability("loggingPrefs", { 'browser':'ALL' })
options.set_capability("goog:loggingPrefs", { 'browser':'ALL' })
browser = webdriver.Chrome(service=Service(ChromeDriverManager().install()),options=options)
print("finished webdriver installation \n")
browser.maximize_window()
Expand Down

0 comments on commit 4ca8df9

Please sign in to comment.