@@ -12,14 +12,20 @@ jobs:
1212 name : ' Code Quality Checks'
1313 runs-on : ubuntu-latest
1414 steps :
15+ - name : ' Check out code'
16+ uses : actions/checkout@v4
1517 - name : ' Setup Python 3.10'
1618 uses : actions/setup-python@v5
1719 with :
1820 python-version : ' 3.10'
19- - name : ' Check out code'
20- uses : actions/checkout@v4
21- - name : ' Install Poetry'
22- uses : Gr1N/setup-poetry@v9
21+ - name : ' Get uv release'
22+ id : uv_release
23+ run : |
24+ echo uv_version=$(cat deps/uv_release) >> "${GITHUB_OUTPUT}"
25+ - name : ' Install uv'
26+ uses : astral-sh/setup-uv@v6
27+ with :
28+ version : ${{ steps.uv_release.outputs.uv_version }}
2329 - name : ' Run code quality checks'
2430 run : make -C kevm-pyk check
2531 - name : ' Run pyupgrade'
3238 steps :
3339 - name : ' Check out code'
3440 uses : actions/checkout@v4
35- - name : ' Install Poetry'
36- uses : Gr1N/setup-poetry@v9
41+ - name : ' Get uv release'
42+ id : uv_release
43+ run : |
44+ echo uv_version=$(cat deps/uv_release) >> "${GITHUB_OUTPUT}"
45+ - name : ' Install uv'
46+ uses : astral-sh/setup-uv@v6
47+ with :
48+ version : ${{ steps.uv_release.outputs.uv_version }}
3749 - name : ' Run unit tests'
3850 run : make -C kevm-pyk cov-unit
3951
4456 steps :
4557 - name : ' Check out code'
4658 uses : actions/checkout@v4
47- - name : ' Install Poetry'
48- uses : Gr1N/setup-poetry@v9
59+ - name : ' Get uv release'
60+ id : uv_release
61+ run : |
62+ echo uv_version=$(cat deps/uv_release) >> "${GITHUB_OUTPUT}"
63+ - name : ' Install uv'
64+ uses : astral-sh/setup-uv@v6
65+ with :
66+ version : ${{ steps.uv_release.outputs.uv_version }}
4967 - name : ' Run profiling'
5068 run : |
5169 make -C kevm-pyk profile
@@ -64,14 +82,14 @@ jobs:
6482 uses : ./.github/actions/with-docker
6583 with :
6684 container-name : kevm-ci-concrete-${{ github.sha }}
67- - name : ' Build kevm-pyk'
68- run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make poetry'
6985 - name : ' Build targets'
70- run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kdist --verbose build -j`nproc` evm-semantics.haskell evm-semantics.kllvm evm-semantics.kllvm-runtime'
86+ run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 uv --project kevm-pyk run -- kdist --verbose build -j`nproc` evm-semantics.haskell evm-semantics.kllvm evm-semantics.kllvm-runtime'
7187 - name : ' Test integration'
7288 run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-integration'
7389 - name : ' Test conformance'
7490 run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-conformance'
91+ - name : ' Test execution-spec-tests'
92+ run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-fixtures'
7593 - name : ' Test llvm krun'
7694 run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-interactive'
7795 - name : ' Tear down Docker'
@@ -108,10 +126,10 @@ jobs:
108126 timeout : 45
109127 parallel : 1
110128 - name : ' Summarization'
111- test-suite : ' test-summarize '
129+ test-suite : ' test-prove-summaries '
112130 test-args :
113- timeout : 30
114- parallel : 6
131+ timeout : 45
132+ parallel : 4
115133 - name : ' DSS'
116134 test-suite : ' test-prove-dss'
117135 test-args :
@@ -129,10 +147,8 @@ jobs:
129147 uses : ./.github/actions/with-docker
130148 with :
131149 container-name : kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }}
132- - name : ' Build kevm-pyk'
133- run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'make poetry'
134150 - name : ' Build distribution'
135- run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kdist --verbose build -j`nproc` evm-semantics.plugin evm-semantics.haskell evm-semantics.summary'
151+ run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 uv --project kevm-pyk run -- kdist --verbose build -j`nproc` evm-semantics.plugin evm-semantics.haskell evm-semantics.haskell- summary'
136152 - name : ' Run proofs'
137153 run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c "make ${{ matrix.test-suite }} PYTEST_ARGS='-vv ${{ matrix.test-args }}' PYTEST_PARALLEL=${{ matrix.parallel }}"
138154 - name : ' Tear down Docker'
@@ -147,7 +163,6 @@ jobs:
147163 matrix :
148164 include :
149165 - runner : normal
150- - runner : macos-13
151166 - runner : ARM64
152167 needs : kevm-pyk-code-quality-checks
153168 runs-on : ${{ matrix.runner }}
@@ -162,20 +177,6 @@ jobs:
162177 run : |
163178 set -eux
164179 git submodule update --init --recursive -- kevm-pyk/src/kevm_pyk/kproj/plugin
165- - name : ' Install Nix'
166- if : ${{ matrix.runner == 'macos-13' }}
167- uses : cachix/install-nix-action@v25
168- with :
169- install_url : https://releases.nixos.org/nix/nix-2.19.3/install
170- extra_nix_config : |
171- access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
172- substituters = http://cache.nixos.org https://cache.iog.io
173- trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
174- - name : ' Install Cachix'
175- if : ${{ matrix.runner == 'macos-13' }}
176- uses : cachix/cachix-action@v14
177- with :
178- name : k-framework
179180 - name : ' Build KEVM'
180181 run : GC_DONT_GC=1 nix build --extra-experimental-features 'nix-command flakes' --print-build-logs
181182 - name : ' Test KEVM'
0 commit comments