Skip to content

Commit

Permalink
Merge pull request #661 from formal-land/guillaume-claret@fix-ci-2025…
Browse files Browse the repository at this point in the history
…-02-16

ci: remove unused or too large JSON files
  • Loading branch information
clarus authored Feb 16, 2025
2 parents da24ef5 + 31702ae commit e2a979c
Show file tree
Hide file tree
Showing 53 changed files with 9 additions and 708,615 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ jobs:
cd context/interface
cargo coq-of-rust
touch src/lib.rs
cargo coq-of-rust
rsync -acv src/ ../../../../../CoqOfRust/revm/revm_context_interface/ --include='*/' --include='*.v' --exclude='*'
cargo coq-of-rust --with-json
rsync -acv src/ ../../../../../CoqOfRust/revm/revm_context_interface/ --include='*/' --include='*.v' --include='*.json' --exclude='*'
cd ../..
# interpreter
cd interpreter
Expand All @@ -118,27 +118,24 @@ jobs:
cd precompile
cargo coq-of-rust
touch src/lib.rs
cargo coq-of-rust
rsync -acv src/ ../../../../CoqOfRust/revm/revm_precompile/ --include='*/' --include='*.v' --exclude='*'
cargo coq-of-rust --with-json
rsync -acv src/ ../../../../CoqOfRust/revm/revm_precompile/ --include='*/' --include='*.v' --include='*.json' --exclude='*'
cd ..
# primitives
cd primitives
cargo coq-of-rust
touch src/lib.rs
cargo coq-of-rust
rsync -acv src/ ../../../../CoqOfRust/revm/revm_primitives/ --include='*/' --include='*.v' --exclude='*'
cargo coq-of-rust --with-json
rsync -acv src/ ../../../../CoqOfRust/revm/revm_primitives/ --include='*/' --include='*.v' --include='*.json' --exclude='*'
cd ..
# specification
cd specification
cargo coq-of-rust
touch src/lib.rs
cargo coq-of-rust
rsync -acv src/ ../../../../CoqOfRust/revm/revm_specification/ --include='*/' --include='*.v' --exclude='*'
cargo coq-of-rust --with-json
rsync -acv src/ ../../../../CoqOfRust/revm/revm_specification/ --include='*/' --include='*.v' --include='*.json' --exclude='*'
cd ..
cd ../../..
# These two files are very large
rm CoqOfRust/revm/revm_bytecode/opcode.json
rm CoqOfRust/revm/revm_interpreter/opcode.json
endGroup
startGroup "Translate Move Sui"
cd third-party/move-sui
Expand Down
1 change: 1 addition & 0 deletions CoqOfRust/revm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json
18,085 changes: 0 additions & 18,085 deletions CoqOfRust/revm/revm_bytecode/bytecode.json

This file was deleted.

Loading

0 comments on commit e2a979c

Please sign in to comment.