mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-05 23:43:05 +00:00
chore: daily ci improvement
This commit is contained in:
parent
01b58d79f0
commit
cdad67ee80
13
README.md
13
README.md
@ -17,14 +17,17 @@ go get -u github.com/logos-messaging/logos-messaging-go-bindings
|
|||||||
If you want to invoke `go build` or `go test` directly, export the same variables the Makefile sets:
|
If you want to invoke `go build` or `go test` directly, export the same variables the Makefile sets:
|
||||||
```bash
|
```bash
|
||||||
# path to your existing logos-messaging-nim clone
|
# path to your existing logos-messaging-nim clone
|
||||||
export LMN_DIR=/path/to/logos-messaging-nim
|
export LMN_DIR=/absolute/path/to/logos-messaging-nim
|
||||||
export CGO_CFLAGS="-I${LMN_DIR}/library/"
|
export CGO_CFLAGS="-I${LMN_DIR}/library"
|
||||||
export CGO_LDFLAGS="-L${LMN_DIR}/build/ -lwaku -Wl,-rpath,${LMN_DIR}/build/"
|
export CGO_LDFLAGS="-L${LMN_DIR}/build -lwaku -Wl,-rpath,${LMN_DIR}/build"
|
||||||
|
|
||||||
# compile all packages
|
# compile all packages
|
||||||
go build ./...
|
go build ./waku
|
||||||
|
|
||||||
# run a specific test (no cache)
|
# run all tests
|
||||||
|
go test ./waku
|
||||||
|
|
||||||
|
# run a specific test
|
||||||
go test ./waku -count=1 -run TestConnectedPeersInfo -v
|
go test ./waku -count=1 -run TestConnectedPeersInfo -v
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ check-folders:
|
|||||||
# Build SDS Go Bindings
|
# Build SDS Go Bindings
|
||||||
build: build-libwaku
|
build: build-libwaku
|
||||||
@echo "Building Waku Go Bindings..."
|
@echo "Building Waku Go Bindings..."
|
||||||
go build ./...
|
go build ./waku
|
||||||
|
|
||||||
# Build libwaku from the nwaku submodule
|
# Build libwaku from the nwaku submodule
|
||||||
# Build libwaku once (clone if needed). Skips work when headers & libs already exist.
|
# Build libwaku once (clone if needed). Skips work when headers & libs already exist.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user