Skip to content

Commit

Permalink
Run Booster tests in a Docker container (#2012)
Browse files Browse the repository at this point in the history
* Run Booster tests in a Docker container

* Set Version: 1.0.253

* Set Version: 1.0.254

* Set Version: 1.0.257

* .github/test-pr: build plugin-deps first before building booster foundry defn

* .github/test-pr: try running booster tests on normal runner

* .github/test-pr: use booster container name

* Set Version: 1.0.258

* Set Version: 1.0.259

---------

Co-authored-by: devops <[email protected]>
Co-authored-by: Everett Hildenbrandt <[email protected]>
Co-authored-by: rv-jenkins <[email protected]>
  • Loading branch information
4 people authored Aug 15, 2023
1 parent fb1cdef commit 02c0820
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
test-prove-foundry:
name: 'Build and Test KEVM Foundry proofs'
needs: kevm-pyk-code-quality-checks
runs-on: [self-hosted, linux, huge]
runs-on: [self-hosted, linux, normal]
timeout-minutes: 150
steps:
- name: 'Check out code'
Expand Down Expand Up @@ -178,18 +178,22 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: 'Build devShell'
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_PUBLIC_TOKEN }}
run: cachix watch-exec k-framework -- nix build --extra-experimental-features 'nix-command flakes' .#devShell.x86_64-linux.inputDerivation --no-link
- name: 'Build blockchain-k-plugin-deps'
run: nix develop --extra-experimental-features 'nix-command flakes' --command make plugin-deps
- name: 'Set up Docker'
uses: ./.github/actions/with-docker
with:
tag: kevm-ci-booster-${{ github.sha }}
- name: 'Build kevm-pyk'
run: nix develop --extra-experimental-features 'nix-command flakes' --command make poetry
run: docker exec -u github-user kevm-ci-booster-${GITHUB_SHA} /bin/bash -c 'make poetry'
- name: 'Build blockchain-k-plugin-deps'
run: docker exec -u github-user kevm-ci-booster-${GITHUB_SHA} /bin/bash -c 'make CXX=clang++-14 plugin-deps'
- name: 'Build Foundry'
run: nix develop --extra-experimental-features 'nix-command flakes' --command make build-foundry -j2
run: docker exec -u github-user kevm-ci-booster-${GITHUB_SHA} /bin/bash -c 'make build-foundry -j2'
- name: 'Foundry Prove'
run: nix develop --extra-experimental-features 'nix-command flakes' --command make test-foundry-prove -j2 FOUNDRY_PAR=8 TEST_ARGS=--use-booster
run: docker exec -u github-user kevm-ci-booster-${GITHUB_SHA} /bin/bash -c 'make test-foundry-prove PYTEST_ARGS="-vv --use-booster"'
- name: 'Tear down Docker'
if: always()
run: |
docker stop --time=0 kevm-ci-booster-${GITHUB_SHA}
nix:
name: 'Nix'
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "kevm-pyk"
version = "1.0.258"
version = "1.0.259"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion package/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kevm (1.0.258) unstable; urgency=medium
kevm (1.0.259) unstable; urgency=medium

* Initial Release.

Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.258
1.0.259

0 comments on commit 02c0820

Please sign in to comment.