|
From: Olly B. <ol...@su...> - 2022-02-01 04:02:20
|
On 2021-11-17, William S Fulton <ws...@fu...> wrote: > You may be aware that we've moved from Travis to Github Actions for > Continuous Integration testing. With that, we have had to update the base > operating systems. The default OS on Github Actions is the latest long term > support version - ubuntu-20.04. The version of OCaml on this is 4.08.1 and > fails as can be seen in this build: > https://github.com/swig/swig/runs/4243992545?check_suite_focus=true > > I managed to get it to pass by reverting it to ubuntu-18.04 which has OCaml > 4.05.0, see commit > https://github.com/swig/swig/commit/335434525594e7759556cc23c5e4b2fb0282dbf1. > While this will work for now, would you be able to find out what's needed > so the examples and test-suite passes again with the latest OCaml? With a fix for CAML_SAFE_STRING (which doesn't cause the errors in the failed CI run) `make check-ocaml-test-suite` passes for me on Debian unstable using OCaml 4.13.1. So perhaps those failures have been addressed in OCaml? FWIW, available version in the Ubuntu repos are: $ rmadison -uubuntu ocaml ocaml | 4.01.0-3ubuntu3 | trusty | source, amd64, arm64, armhf, i386, powerpc, ppc64el ocaml | 4.01.0-3ubuntu3.1 | trusty-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el ocaml | 4.01.0-3ubuntu3.1 | trusty-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el ocaml | 4.02.3-5ubuntu2 | xenial/universe | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x ocaml | 4.05.0-10ubuntu1 | bionic/universe | source, amd64, arm64, armhf, i386, ppc64el, s390x ocaml | 4.08.1-8 | focal/universe | source, amd64, arm64, armhf, i386, ppc64el, riscv64, s390x ocaml | 4.11.1-4 | impish/universe | source, amd64, arm64, armhf, i386, ppc64el, riscv64, s390x ocaml | 4.11.1-5ubuntu1 | jammy/universe | source, amd64, arm64, armhf, i386, ppc64el, riscv64, s390x ocaml | 4.13.1-3ubuntu1 | jammy-proposed/universe | source, amd64, arm64, armhf, i386, ppc64el, riscv64, s390x The next LTS release should be "jammy" in April this year, so maybe we need to wait until that's available. Or can we use non-LTS with the new CI system? Or install OCaml from a PPA or similar? Cheers, Olly |