From 43c56074c93b50d35ddac33f4d0aaaa2281b0b4d Mon Sep 17 00:00:00 2001 From: jangko Date: Sun, 20 Jun 2021 10:06:41 +0700 Subject: [PATCH] ci: build release mode binaries participating in autobahn tests --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36b153ce..1bcd69f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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.