Source build Geth #3
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
name: Source build Geth | |
defaults: | |
run: | |
shell: bash | |
on: | |
schedule: | |
- cron: "42 7 * * 2" # Weekly Tuesday at 7:42 AM UTC | |
workflow_dispatch: | |
jobs: | |
build-geth: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Create .env file | |
run: cp default.env .env | |
- name: Set Prysm/Geth | |
run: | | |
source ./.github/helper.sh | |
COMPOSE_FILE=prysm.yml:geth.yml | |
var=COMPOSE_FILE | |
set_value_in_env | |
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86 | |
var=FEE_RECIPIENT | |
set_value_in_env | |
CL_NODE=consensus:4000 | |
var=CL_NODE | |
set_value_in_env | |
GETH_DOCKERFILE=Dockerfile.source | |
var=GETH_DOCKERFILE | |
set_value_in_env | |
- name: Build clients | |
run: ./ethd update | |
- name: Test the stack | |
uses: ./.github/actions/test_client_stack | |
- name: Set Prysm/Geth w/ VC | |
run: | | |
source ./.github/helper.sh | |
COMPOSE_FILE=prysm-cl-only.yml:prysm-vc-only.yml:geth.yml | |
var=COMPOSE_FILE | |
set_value_in_env | |
- name: Test the stack | |
uses: ./.github/actions/test_client_stack |