Skip to content

Commit d43afed

Browse files
committed
CI: upgrade to opam 2.3.0, install from Ubuntu
The main issue is to drop Python 2.7 which has been removed from Ubuntu; https://utcc.utoronto.ca/~cks/space/blog/python/Ubuntu2404PythonState No need for manual binary downloads, since opam 2.3.0 is in Ubuntu 24.04: https://opam.ocaml.org/doc/Install.html#Debian-and-Ubuntu Signed-off-by: Daniel Maslowski <info@orangecms.org>
1 parent 2dcd17e commit d43afed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
persist-credentials: false
1616
submodules: 'true'
1717
- name: Install opam dependencies
18-
run: sudo apt update -y && sudo apt install -y pkg-config git rsync tar unzip m4 time curl ocaml build-essential bubblewrap gawk libgmp-dev python2.7 python3 python3-distutils libmpfr-dev
18+
run: sudo apt update -y && sudo apt install -y pkg-config git rsync tar unzip m4 time curl ocaml build-essential bubblewrap gawk libgmp-dev python3 python3-distutils libmpfr-dev
1919
- name: Install opam
20-
run: curl "https://github.com/ocaml/opam/releases/download/2.1.5/opam-2.1.5-x86_64-linux" -Lo /usr/local/bin/opam && chmod +x /usr/local/bin/opam
20+
run: curl "https://github.com/ocaml/opam/releases/download/2.3.0/opam-2.3.0-x86_64-linux" -Lo /usr/local/bin/opam && chmod +x /usr/local/bin/opam
2121
- name: Setup opam
2222
run: opam init -y
2323
- name: Setup opam switch

0 commit comments

Comments
 (0)