mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-11 15:24:11 +00:00
Add zig-libp2p to interop tester (#167)
* Add zig-libp2p to interop tester * Fix typo
This commit is contained in:
parent
60003a42ab
commit
d61600ccd2
@ -2,8 +2,9 @@ GO_SUBDIRS := $(wildcard impl/go/*/.)
|
||||
JS_SUBDIRS := $(wildcard impl/js/*/.)
|
||||
RUST_SUBDIRS := $(wildcard impl/rust/*/.)
|
||||
NIM_SUBDIRS := $(wildcard impl/nim/*/.)
|
||||
ZIG_SUBDIRS := $(wildcard impl/zig/*/.)
|
||||
|
||||
all: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS)
|
||||
all: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS) $(ZIG_SUBDIRS)
|
||||
$(JS_SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
$(GO_SUBDIRS):
|
||||
@ -12,6 +13,8 @@ $(RUST_SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
$(NIM_SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
$(ZIG_SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
|
||||
|
||||
.PHONY: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS) all
|
||||
.PHONY: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS) $(ZIG_SUBDIRS) all
|
||||
|
1
multidim-interop/impl/zig/.gitignore
vendored
Normal file
1
multidim-interop/impl/zig/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
zig-libp2p-*
|
14
multidim-interop/impl/zig/v0.0.1/Makefile
Normal file
14
multidim-interop/impl/zig/v0.0.1/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
image_name := zig-v0.0.1
|
||||
commitSha := 7435381b698bf282d088a64de1b24f5767bb9a4a
|
||||
|
||||
all: image.json
|
||||
|
||||
image.json:
|
||||
wget -O zig-libp2p-${commitSha}.zip "https://github.com/marcopolo/zig-libp2p/archive/${commitSha}.zip"
|
||||
unzip -o zig-libp2p-${commitSha}.zip
|
||||
cd zig-libp2p-${commitSha} && docker build -t ${image_name} -f interop/Dockerfile .
|
||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||
|
||||
clean:
|
||||
rm -rf image.json zig-libp2p-*.zip zig-libp2p-*
|
@ -11,6 +11,7 @@ import jsV042 from "./impl/js/v0.42/node-image.json"
|
||||
import nimv10 from "./impl/nim/v1.0/image.json"
|
||||
import chromiumJsV041 from "./impl/js/v0.41/chromium-image.json"
|
||||
import chromiumJsV042 from "./impl/js/v0.42/chromium-image.json"
|
||||
import zigv001 from "./impl/zig/v0.0.1/image.json"
|
||||
|
||||
export type Version = {
|
||||
id: string,
|
||||
@ -114,4 +115,11 @@ export const versions: Array<Version> = [
|
||||
secureChannels: ["noise"],
|
||||
muxers: ["mplex", "yamux"],
|
||||
},
|
||||
{
|
||||
id: "zig-v0.0.1",
|
||||
containerImageID: zigv001.imageID,
|
||||
transports: ["quic-v1"],
|
||||
secureChannels: [],
|
||||
muxers: [],
|
||||
},
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user