Skip to content

Create Kani Github Action #1312

Closed
Closed

Description

@tedinski

It might make things easier for customers if they can simply make use of a github action to run Kani on their code. Ideally this would be as simple as (for example) how we publish our ghpages:

- name: Run proofs
  uses: model-checking/kani-github-action@v1

Activity

  1. added
    [C] Feature / Enhancement
    on Jul 20, 2022
  2. adpaco commented on Jul 20, 2022

    @adpaco
    Contributor

    Just heard about a project that would be interested in using an action like this.

    By default, it should run cargo kani. But we should also provide the option to call a set of proofs, or exclude some proofs from executing (this is desirable if some proofs are failing, since we don't have the "expect-fail" annotation yet).

    Another thing to take into account is that some proofs may need to enable flags. Do we want an annotation for extra flags?

  3. tedinski commented on Jul 20, 2022

    @tedinski
    ContributorAuthor

    Yeah, I think the idea is for annotations to do that work. I'm not sure if they could be arbitrary flags (easily, that is, it'd take some work to restructure how we do things...)

  4. YoshikiTakashima commented on Jul 28, 2022

    @YoshikiTakashima
    Contributor

    +1 for this feature. We had potential customers at my mid-internship talk who would be interested in using it in CI. Implementing it would go a long ways in terms of easing adoption.

    https://github.com/tokio-rs/prost.git

  5. removed their assignment
    on Aug 11, 2022
  6. changed the title [-]Possibly create Kani Github Action[/-] [+] create Kani Github Action[/+] on Aug 16, 2022
  7. changed the title [-] create Kani Github Action[/-] [+]Create Kani Github Action[/+] on Aug 16, 2022
  8. tedinski commented on Aug 16, 2022

    @tedinski
    ContributorAuthor

    There are some docker files that already exist for testing the Kani install procedure on different OSes that might serve as a starting point. For instance here is the ubuntu-latest one: https://github.com/model-checking/kani/blob/main/scripts/ci/Dockerfile.bundle-test-ubuntu-22-04

  9. 3 remaining items

  10. moved this to In Progress in Kani 0.10on Aug 25, 2022
  11. moved this from In Progress to No status in Kani 0.10on Sep 6, 2022
  12. moved this to In Progress in Kani 0.10on Sep 6, 2022
  13. moved this to In Progress in Kani 0.11on Sep 6, 2022
  14. Repository owner moved this from In Progress to Done in Kani v0.9on Sep 6, 2022
  15. Repository owner moved this from In Progress to Done in Kani 0.11on Sep 6, 2022
  16. self-assigned this
    on Sep 27, 2022
  17. danielsn commented on Nov 1, 2022

    @danielsn
    Contributor

    Released action

  18. moved this to Done in Kani 0.14on Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[C] Feature / Enhancement

Type

No type

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions