Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Dec 9, 2024
1 parent d0a9321 commit 4df5902
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions libp2p.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,9 @@ task testfilter, "Run PKI filter test":
runTest("testpkifilter", moreoptions = "-d:libp2p_pki_schemes=")

task test, "Runs the test suite":
exec "nimble testnative"
exec "nimble testpubsub"
exec "nimble testdaemon"
exec "nimble testinterop"
exec "nimble testfilter"
exec "nimble examples_build"

task test_slim, "Runs the (slimmed down) test suite":
exec "nimble testnative"
exec "nimble testpubsub_slim"
exec "nimble testfilter"
exec "nimble examples_build"

task website, "Build the website":
Expand All @@ -117,17 +109,8 @@ task website, "Build the website":
exec "mkdocs build"

task examples_build, "Build the samples":
buildSample("directchat")
buildSample("helloworld", true)
buildSample("circuitrelay", true)
buildSample("tutorial_1_connect", true)
buildSample("tutorial_2_customproto", true)
buildSample("tutorial_3_protobuf", true)
buildSample("tutorial_4_gossipsub", true)
buildSample("tutorial_5_discovery", true)
exec "nimble install -y nimpng@#HEAD"
# this is to fix broken build on 1.7.3, remove it when nimpng version 0.3.2 or later is released
exec "nimble install -y nico@#af99dd60bf2b395038ece815ea1012330a80d6e6"
# this is to fix broken build on 1.7.3, remove it when nimpng version 0.3.2 or later is released
exec "nimble install -y nico@#af99dd60bf2b395038ece815ea1012330a80d6e6 --passNim='--styleCheck:off'"
buildSample("tutorial_6_game", false, "--styleCheck:off")

# pin system
Expand Down

0 comments on commit 4df5902

Please sign in to comment.