Skip to content

Commit c3b07a6

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 c3b07a6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ jobs:
1414
with:
1515
persist-credentials: false
1616
submodules: 'true'
17-
- 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
1917
- 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
18+
run: sudo apt update && sudo apt install -y opam
2119
- name: Setup opam
2220
run: opam init -y
2321
- name: Setup opam switch

0 commit comments

Comments
 (0)