Skip to content
Snippets Groups Projects
Commit d863aedc authored by Julien Girard-Satabin's avatar Julien Girard-Satabin
Browse files

[ci] Upgraded OPAM image in CI to match Dockerfile generation

parent 5a7f5e88
No related branches found
No related tags found
No related merge requests found
variables: variables:
CAISAR_VERSION: "1.0.0" CAISAR_VERSION: "2.0.0"
TAG: "1.0" TAG: "2.0"
default: default:
interruptible: true interruptible: true
...@@ -20,7 +20,7 @@ build: ...@@ -20,7 +20,7 @@ build:
# Optional and manual full rebuild using a clean docker image # Optional and manual full rebuild using a clean docker image
full_rebuild_and_test: full_rebuild_and_test:
stage: build stage: build
image: ocaml/opam@sha256:013a26ccbaa8344b63274e335e2492c432cec1c3526b9ba888ab151abb2b4c25 image: ocaml/ocaml/opam:ubuntu-22.04-ocaml-4.13
cache: cache:
key: $CI_COMMIT_REF_SLUG key: $CI_COMMIT_REF_SLUG
paths: paths:
...@@ -31,7 +31,7 @@ full_rebuild_and_test: ...@@ -31,7 +31,7 @@ full_rebuild_and_test:
- eval $(opam env --switch=4.13 --set-switch) - eval $(opam env --switch=4.13 --set-switch)
- opam switch - opam switch
- sudo apt-get update - sudo apt-get update
- sudo apt install -y protobuf-compiler python3 pip - sudo apt-get install -y protobuf-compiler python3 python3-pip cmake
- opam repository add remote https://opam.ocaml.org - opam repository add remote https://opam.ocaml.org
- opam depext --yes ocplib-endian base fmt alt-ergo.2.4.0 - opam depext --yes ocplib-endian base fmt alt-ergo.2.4.0
- opam install --jobs 2 . --deps-only --with-test --yes - opam install --jobs 2 . --deps-only --with-test --yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment