rhg: Build in release mode on CI
This follows e73b40c790ec which made tests use the release executable.
With e73b40c790ec but not this, tests are skipped on CI
because the executable is missing.
Differential Revision: https://phab.mercurial-scm.org/D9907
--- a/contrib/heptapod-ci.yml Sat Jan 30 00:36:54 2021 +0100
+++ b/contrib/heptapod-ci.yml Fri Jan 29 13:46:19 2021 +0100
@@ -32,7 +32,7 @@
- hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
- ls -1 tests/test-check-*.* > /tmp/check-tests.txt
- cd /tmp/mercurial-ci/rust/rhg
- - cargo build
+ - cargo build --release
- cd /tmp/mercurial-ci/