Skip to content

Commit

Permalink
Add CI for code
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanBlanchard committed Nov 1, 2024
1 parent 5fd3cee commit 7f46413
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit 7f46413

Please sign in to comment.