Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ jobs:
target: [unit, stdlib, examples]
steps:
- uses: actions/checkout@v4
- name: Install latest alt-ergo
run: |
opam remove --switch=alt-ergo-2.6.2 alt-ergo
opam update
opam switch create --no-switch alt-ergo-2.6.3 ocaml-system
opam pin --switch=alt-ergo-2.6.3 add -n alt-ergo 2.6.3
opam install --switch=alt-ergo-2.6.3 --deps-only --confirm-level=unsafe-yes alt-ergo
opam install --switch=alt-ergo-2.6.3 alt-ergo
opam clean --switch=alt-ergo-2.6.3
ln -s run-alt-ergo ~/bin/alt-ergo-2.6.3
opam exec -- why3 config detect
- name: Install EasyCrypt dependencies
run: |
opam pin add -n easycrypt .
Expand Down Expand Up @@ -135,6 +146,16 @@ jobs:
opam install --deps-only easycrypt
- name: Compile & Install EasyCrypt
run: opam exec -- make -C easycrypt build install
- name: Install latest alt-ergo
run: |
opam remove --switch=alt-ergo-2.6.2 alt-ergo
opam update
opam switch create --no-switch alt-ergo-2.6.3 ocaml-system
opam pin --switch=alt-ergo-2.6.3 add -n alt-ergo 2.6.3
opam install --switch=alt-ergo-2.6.3 --deps-only --confirm-level=unsafe-yes alt-ergo
opam install --switch=alt-ergo-2.6.3 alt-ergo
opam clean --switch=alt-ergo-2.6.3
ln -s run-alt-ergo ~/bin/alt-ergo-2.6.3
- name: Detect SMT provers
run: |
rm -f ~/.why3.conf ~/.config/easycrypt/why3.conf
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY --chmod=0755 --chown=1001:0 docker-parts/alt-ergo bin/run-alt-ergo
ENV PATH="/home/charlie/bin:$PATH"

RUN \
version=2.6.2 && \
version=2.6.3 && \
opam switch create --no-switch alt-ergo-${version} ocaml-system && \
opam pin --switch=alt-ergo-${version} add -n alt-ergo ${version} && \
opam install --switch=alt-ergo-${version} --deps-only --confirm-level=unsafe-yes alt-ergo && \
Expand Down
Loading