Skip to content

Commit c396382

Browse files
committed
Workflow torun kmir tests fromdockerhub
1 parent 906c4df commit c396382

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/container-test.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,24 @@ jobs:
4848

4949
test:
5050
runs-on: ubuntu-latest
51-
needs: publish-test-image
52-
permissions:
53-
packages: read
51+
# needs: publish-test-image
52+
container: runtimeverificationinc/kmir:ubuntu-jammy-0.3.112_7.1.229-daf5158
5453
steps:
5554
- name: Checkout code
5655
uses: actions/checkout@v4
5756
with:
5857
submodules: recursive
5958
ref: sample-challenge-11-proofs
60-
- name: Start KMIR Container
61-
run: |
62-
docker run --detach --rm --name kmir --tty --interactive ${{ needs.publish-test-image.outputs.image-name }}:ubuntu-jammy-${{ needs.publish-test-image.outputs.kmir-version }}_${{ needs.publish-test-image.outputs.k-version }}-${{ needs.publish-test-image.outputs.short-sha }}
63-
- name: Stream files to Container
64-
run: |
65-
docker cp rust-verification-proofs kmir:/home/kmir/
59+
# - name: Start KMIR Container
60+
# run: |
61+
# docker run --detach --rm --name kmir --tty --interactive ${{ needs.publish-test-image.outputs.image-name }}:ubuntu-jammy-${{ needs.publish-test-image.outputs.kmir-version }}_${{ needs.publish-test-image.outputs.k-version }}-${{ needs.publish-test-image.outputs.short-sha }}
62+
# - name: Stream files to Container
63+
# run: |
64+
# docker cp rust-verification-proofs kmir:/home/kmir/
6665
- name: kmir Prove
6766
run: |
6867
cd rust-verification-proofs/unchecked_add
69-
kmir prove run $PWD/unchecked-op-spec.k --proof-dir $PWD/proof
68+
for k_file in */*-spec.k"; do
69+
echo "Running ${k_file}"
70+
kmir prove run ${k_file} --proof-dir $(dirname ${k_file})/proofs
71+
done

0 commit comments

Comments
 (0)