Patchwork D9907: rhg: Build in release mode on CI

login
register
mail settings
Submitter phabricator
Date Jan. 29, 2021, 12:46 p.m.
Message ID <differential-rev-PHID-DREV-hhfkyz2hlpsd5fvspga5-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48218/
State Superseded
Headers show

Comments

phabricator - Jan. 29, 2021, 12:46 p.m.
SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This follows e73b40c790ec <https://phab.mercurial-scm.org/rHGe73b40c790eca02aed33345169729010a7b293e2> which made tests use the release executable.
  With e73b40c790ec <https://phab.mercurial-scm.org/rHGe73b40c790eca02aed33345169729010a7b293e2> but not this, tests are skipped on CI
  because the executable is missing.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9907

AFFECTED FILES
  contrib/heptapod-ci.yml

CHANGE DETAILS




To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml
+++ b/contrib/heptapod-ci.yml
@@ -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/