Add CI for code #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push] | |
jobs: | |
compile: | |
name: Execute tests | |
runs-on: ubuntu-latest | |
container: | |
image: ocaml/opam:debian | |
options: --user root | |
steps: | |
- name: initialize | |
run: opam init --disable-sandboxing && opam update && apt update | |
- name: pin frama-c | |
run: opam pin frama-c --dev-repo -n | |
- name: install frama-c | |
run: opam depext frama-c && opam install frama-c && eval $(opam env) | |
- name: install z3 | |
run: apt install z3 | |
- name: configure Why3 | |
run: why3 config detect | |
- name: retrieve sources | |
uses: actions/checkout@v4 | |
- name: tests | |
run: cd code && make prepare-tests && make run-tests |