ci: build release mode binaries participating in autobahn tests

This commit is contained in:
jangko 2021-06-20 10:06:41 +07:00
parent 32b62989a4
commit 43c56074c9
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 4 additions and 4 deletions

View File

@ -224,7 +224,7 @@ jobs:
sed -i "s/COMMIT_SHA/$GITHUB_SHA/g" autobahn/index.md
markdown2 autobahn/index.md > autobahn/reports/index.html
nim c examples/server.nim
nim c -d:release examples/server.nim
examples/server &
pid=$!
cd autobahn
@ -232,7 +232,7 @@ jobs:
kill $pid
cd ..
nim -d:tls c examples/server.nim
nim c -d:tls -d:release examples/server.nim
examples/server &
pid=$!
cd autobahn
@ -242,14 +242,14 @@ jobs:
wstest --mode fuzzingserver --spec fuzzingserver.json &
pid=$!
cd ..
nim c -r examples/autobahn_client
nim c -r -d:release examples/autobahn_client
kill $pid
cd autobahn
wstest --mode fuzzingserver --spec fuzzingserver_tls.json &
pid=$!
cd ..
nim c -r -d:tls examples/autobahn_client
nim c -r -d:tls -d:release examples/autobahn_client
kill $pid
- name: Deploy autobahn report.