Added negative tests to demonstrate KMIR errors on UB path #5
This file contains hidden or 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: KMIR | |
| on: | |
| workflow_dispatch: | |
| merge_group: | |
| pull_request: | |
| branches: [ main ] | |
| push: | |
| paths: | |
| - 'library/**' | |
| - '.github/workflows/kmir.yml' | |
| - 'kmir-proofs/**' | |
| jobs: | |
| run-kmir-proofs: | |
| name: Run KMIR proofs | |
| runs-on: ubuntu-latest | |
| env: | |
| container_name: "kmir-${{ github.run_id }}" | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Run Challenge 11 Proofs | |
| run: | | |
| docker run --rm -t \ | |
| --name ${{ env.container_name }} \ | |
| -w /home/kmir/workspace \ | |
| -u $(id -u):$(id -g) \ | |
| -v $PWD:/home/kmir/workspace \ | |
| runtimeverificationinc/kmir:ubuntu-jammy-latest \ | |
| kmir-proofs/0011-floats-ints/run-proofs.sh | |
| run-kmir-proofs-negative: | |
| name: Run KMIR negative proofs | |
| runs-on: ubuntu-latest | |
| env: | |
| container_name: "kmir-neg-${{ github.run_id }}" | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Run Challenge 11 Negative Proofs | |
| run: | | |
| docker run --rm -t \ | |
| --name ${{ env.container_name }} \ | |
| -w /home/kmir/workspace \ | |
| -u $(id -u):$(id -g) \ | |
| -v $PWD:/home/kmir/workspace \ | |
| runtimeverificationinc/kmir:ubuntu-jammy-latest \ | |
| kmir-proofs/0011-floats-ints/run-proofs.sh --negative |