-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Ethshadow | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Shadow's dependencies | ||
run : | | ||
# required dependencies | ||
sudo apt-get install -y \ | ||
cmake \ | ||
findutils \ | ||
libclang-dev \ | ||
libc-dbg \ | ||
libglib2.0-0 \ | ||
libglib2.0-dev \ | ||
make \ | ||
netbase \ | ||
python3 \ | ||
python3-networkx \ | ||
xz-utils \ | ||
util-linux \ | ||
gcc \ | ||
g++ | ||
- name: Install Shadow | ||
run: | | ||
git clone https://github.com/shadow/shadow.git | ||
cd shadow | ||
./setup build --clean | ||
./setup install | ||
- name: Install Lighthouse's dependencies | ||
run : | | ||
sudo apt update | ||
sudo apt install -y git gcc g++ make cmake pkg-config llvm-dev libclang-dev clang | ||
- name: Install Lighthouse | ||
run: | | ||
git clone https://github.com/sigp/lighthouse.git | ||
cd lighthouse | ||
git checkout v5.3.0 | ||
make | ||
make install-lcli | ||
lighthouse -V | ||
- name: Install Geth | ||
run: | | ||
git clone https://github.com/ethereum/go-ethereum.git | ||
cd go-ethereum | ||
git checkout v1.14.11 | ||
make geth | ||
sudo cp build/bin/geth /usr/local/bin/geth | ||
geth -v |