rhg: Build in release mode on CI
authorSimon Sapin <simon.sapin@octobus.net>
Fri, 29 Jan 2021 13:46:19 +0100
changeset 46494 0da465780bba
parent 46493 f7621fa14b84
child 46495 6380efb82191
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
contrib/heptapod-ci.yml
--- 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/