Skip to content

Commit

Permalink
Updated CI job to work with new bonsai api
Browse files Browse the repository at this point in the history
  • Loading branch information
Enoumy committed Jan 5, 2025
1 parent 35da0c7 commit 3086fdf
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}

- run: opam switch create 5.2.0+flambda2 --repos with-extensions=git+https://github.com/janestreet/opam-repository.git#with-extensions,default

- run: bash -c "eval $(opam env --switch 5.2.0+flambda2)"

- run: opam install . --deps-only --with-test

- run: opam exec -- dune build
Expand Down
14 changes: 11 additions & 3 deletions capy.opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,16 @@ depends: [
"dune" {>= "3.9"}
"notty"
"yojson" {= "2.2.2"}
"ppx_yojson_conv" {= "v0.17.0"}
"bonsai" {= "v0.17.0"}
"ppx_yojson_conv" {= "v0.18~preview.130.04+450"}
"bonsai" {= "v0.18~preview.130.04+450"}
"bonsai_test" {= "v0.18~preview.130.04+450"}
"async_ssl" {= "v0.18~preview.130.04+450"}
"cohttp-async"
"async" {= "v0.18~preview.130.04+450"}
"expectable" {= "v0.18~preview.130.04+450"}
"core_unix" {= "v0.18~preview.130.04+450"}
"core" {= "v0.18~preview.130.04+450"}
"expect_test_helpers_core" {= "v0.18~preview.130.04+450"}
"odoc" {with-doc}
]
build: [
Expand All @@ -34,5 +42,5 @@ build: [
]
dev-repo: "git+https://github.com/enoumy/capy.git"
pin-depends: [
[ "async_ssl.v0.17.0" "git+https://github.com/vbmithr/async_ssl/#5206b3b" ]
[ "async_ssl.v0.18~preview.130.04+450" "git+https://github.com/enoumy/async_ssl" ]
]
2 changes: 1 addition & 1 deletion capy.opam.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pin-depends: [
[ "async_ssl.v0.17.0" "git+https://github.com/vbmithr/async_ssl/#5206b3b" ]
[ "async_ssl.v0.18~preview.130.04+450" "git+https://github.com/enoumy/async_ssl" ]
]
21 changes: 19 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,26 @@
(yojson
(= "2.2.2"))
(ppx_yojson_conv
(= "v0.17.0"))
(= "v0.18~preview.130.04+450"))
(bonsai
(= "v0.17.0")))
(= "v0.18~preview.130.04+450"))
(bonsai_test
(= "v0.18~preview.130.04+450"))
(async_ssl
(= "v0.18~preview.130.04+450"))
cohttp-async
(async
(= "v0.18~preview.130.04+450"))
(expectable
(= "v0.18~preview.130.04+450"))
(core_unix
(= "v0.18~preview.130.04+450"))
(core
(= "v0.18~preview.130.04+450"))
(expect_test_helpers_core
(= "v0.18~preview.130.04+450"))
;;
)
(tags
(ocaml ui tui "terminal ui" manga notty bonsai)))

Expand Down

0 comments on commit 3086fdf

Please sign in to comment.