mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
ci: fix make geth (#786)
* fix CI * trigger CI * add sudo * use absolute path * remove libzktrie * revert CI change
This commit is contained in:
parent
b091e4f9c9
commit
ab349d6443
2 changed files with 2 additions and 3 deletions
2
.github/workflows/l2geth_ci.yml
vendored
2
.github/workflows/l2geth_ci.yml
vendored
|
|
@ -44,8 +44,6 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
make libzkp
|
|
||||||
sudo cp ./rollup/circuitcapacitychecker/libzkp/libzkp.so /usr/local/lib/
|
|
||||||
make geth
|
make geth
|
||||||
check:
|
check:
|
||||||
if: github.event.pull_request.draft == false
|
if: github.event.pull_request.draft == false
|
||||||
|
|
|
||||||
3
Makefile
3
Makefile
|
|
@ -23,7 +23,8 @@ nccc_geth: libzstd ## geth without circuit capacity checker
|
||||||
@echo "Run \"$(GOBIN)/geth\" to launch geth."
|
@echo "Run \"$(GOBIN)/geth\" to launch geth."
|
||||||
|
|
||||||
geth: libzkp libzstd
|
geth: libzkp libzstd
|
||||||
$(GORUN) build/ci.go install -buildtags circuit_capacity_checker ./cmd/geth
|
@sudo cp $(PWD)/rollup/circuitcapacitychecker/libzkp/libzkp.so $(SCROLL_LIB_PATH)
|
||||||
|
@LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(SCROLL_LIB_PATH)" CGO_LDFLAGS="-L$(SCROLL_LIB_PATH) -Wl,-rpath,$(SCROLL_LIB_PATH)" $(GORUN) build/ci.go install -buildtags circuit_capacity_checker ./cmd/geth
|
||||||
@echo "Done building."
|
@echo "Done building."
|
||||||
@echo "Run \"$(GOBIN)/geth\" to launch geth."
|
@echo "Run \"$(GOBIN)/geth\" to launch geth."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue