Add eth-specs submodule (#60)
* Added eth specs submodule * Rename to eth-specs instead * Added install script for ethspecs module * Use python and pip instead of 3 * Load eth-specs in ci * Add checkout submodules to ci * Make install script executable * Added missing install command in script * Added missing submodule * Move to eth-specs for building
This commit is contained in:
parent
7df4f9556f
commit
0f6bcf11b1
|
@ -12,7 +12,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
|
@ -20,5 +22,7 @@ jobs:
|
|||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Build and install eth-specs
|
||||
run: ./install-eth-specs.sh
|
||||
- name: Run tests
|
||||
run: python -m unittest
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[submodule "consensus-specs"]
|
||||
path = eth-specs
|
||||
url = git@github.com:ethereum/consensus-specs.git
|
||||
branch = dev
|
|
@ -0,0 +1 @@
|
|||
Subproject commit ae3ef6f330846cae283e7748f423ce54128ef6d4
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
cd ./eth-specs
|
||||
pip install -r requirements_preinstallation.txt
|
||||
python setup.py sdist bdist_wheel
|
||||
pip install dist/*.whl
|
Loading…
Reference in New Issue