From 2defc41dba6b0bda6412559bd2874937237002ef Mon Sep 17 00:00:00 2001 From: Michael Dales Date: Tue, 16 Sep 2025 21:48:17 +0100 Subject: [PATCH 1/2] Get CI to install oldest packages --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9299f8b..12c0988 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,6 +6,11 @@ on: - main pull_request: +env: + OPAMCRITERIA: +removed,+count[version-lag,solution] + OPAMFIXUPCRITERIA: +removed,+count[version-lag,solution] + OPAMUPGRADECRITERIA: +removed,+count[version-lag,solution] + permissions: read-all jobs: From 6eb4a3ec498baf37f4f46d1918aa05cd1c19c51c Mon Sep 17 00:00:00 2001 From: Michael Dales Date: Tue, 16 Sep 2025 22:15:34 +0100 Subject: [PATCH 2/2] Update giflib dependnacy --- claudius.opam | 2 +- dune-project | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/claudius.opam b/claudius.opam index 92d122e..b5cf6d9 100644 --- a/claudius.opam +++ b/claudius.opam @@ -27,7 +27,7 @@ depends: [ "tsdl" {>= "1.1.0"} "ounit2" {with-test} "odoc" {with-doc} - "giflib" {>= "1.0.3"} + "giflib" {>= "1.1.0"} "imagelib" {>= "20221222"} "crunch" {>= "4.0.0"} "hsluv" {>= "0.1.0"} diff --git a/dune-project b/dune-project index 1a3e116..b1a8495 100644 --- a/dune-project +++ b/dune-project @@ -21,7 +21,7 @@ (name claudius) (synopsis "A retro-style graphics library") (description "A functional style retro-graphics library for OCaml for building generative art, demos, and games.") - (depends (ocaml (>= 5.1)) dune (tsdl (>= 1.1.0)) (ounit2 :with-test) (odoc :with-doc) (giflib (>= 1.0.3)) (imagelib (>= 20221222)) (crunch (>= 4.0.0)) (hsluv (>= 0.1.0)) (ocamlformat (and (>= 0.27.0) :with-dev-setup ))) + (depends (ocaml (>= 5.1)) dune (tsdl (>= 1.1.0)) (ounit2 :with-test) (odoc :with-doc) (giflib (>= 1.1.0)) (imagelib (>= 20221222)) (crunch (>= 4.0.0)) (hsluv (>= 0.1.0)) (ocamlformat (and (>= 0.27.0) :with-dev-setup ))) (tags (graphics rendering paletted)))