ci: fix make geth (#786)

* fix CI

* trigger CI

* add sudo

* use absolute path

* remove libzktrie

* revert CI change
This commit is contained in:
colin 2024-05-30 14:45:13 +08:00 committed by GitHub
parent b091e4f9c9
commit ab349d6443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -44,8 +44,6 @@ jobs:
uses: actions/checkout@v2
- name: Build
run: |
make libzkp
sudo cp ./rollup/circuitcapacitychecker/libzkp/libzkp.so /usr/local/lib/
make geth
check:
if: github.event.pull_request.draft == false

View file

@ -23,7 +23,8 @@ nccc_geth: libzstd ## geth without circuit capacity checker
@echo "Run \"$(GOBIN)/geth\" to launch geth."
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 "Run \"$(GOBIN)/geth\" to launch geth."