Skip to content

Commit

Permalink
ci: add translation from Python
Browse files Browse the repository at this point in the history
  • Loading branch information
clarus committed May 21, 2024
1 parent 4dcabf9 commit bd3ebf1
Show file tree
Hide file tree
Showing 148 changed files with 12,851 additions and 10,497 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/coq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ jobs:
startGroup "Set the rights"
sudo chown -R $(whoami) .
endGroup
startGroup "Translate the Python code to Coq"
cd ethereum-execution-specs/src
find ethereum -name "*.py" -exec echo {} \; -exec python ../../main.py {} \; -quit
cd ../..
endGroup
startGroup "Make sure there no differences"
git diff --exit-code
endGroup
startGroup "Compile Coq translations"
cd CoqOfPython
make
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ethereum-execution-specs"]
path = ethereum-execution-specs
url = https://github.com/ethereum/execution-specs.git
Loading

0 comments on commit bd3ebf1

Please sign in to comment.