chore: deprecated go-waku

This commit is contained in:
darshankabariya 2025-12-23 02:21:12 +05:30
parent 79f94a234a
commit c500c6d247
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22
2 changed files with 6 additions and 3 deletions

View File

@ -54,6 +54,9 @@ jobs:
run: |
set -euo pipefail
cd waku
export LMN_DIR=$(pwd)/../vendor/logos-messaging-nim
export CGO_CFLAGS="-I${LMN_DIR}/library/"
export CGO_LDFLAGS="-L${LMN_DIR}/build/ -lwaku -Wl,-rpath,${LMN_DIR}/build/"
go test -count=10 -p=1 -v -timeout=360m . | tee ../testlogs.log
- name: Upload daily test logs

View File

@ -52,14 +52,14 @@ check-folders:
build:
@echo "Building Waku Go Bindings (manual)..."
go build -o waku-bindings .
CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o waku-bindings .
test: build
@echo "Running tests (manual)..."
@if [ -z "$(TEST)" ]; then \
go test .; \
CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go test .; \
else \
go test . -count=1 -run $(TEST) -v; \
CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go test . -count=1 -run $(TEST) -v; \
fi
# Clean up generated files