mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-28 02:13:12 +00:00
chore: deprecated go-waku
This commit is contained in:
parent
79f94a234a
commit
c500c6d247
3
.github/workflows/CI.yml
vendored
3
.github/workflows/CI.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user