Skip to content

Commit bac38c1

Browse files
committed
Merge branch 'tim/cross_build_library' into 'master'
ci: Cross-build sdk-rust library in CI, even if we can't run tests See merge request TankerHQ/sdk-rust!46
2 parents bfc088d + 1555452 commit bac38c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run-ci.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ def prepare(self, update: bool, tanker_ref: Optional[str] = None) -> None:
197197

198198
def test(self) -> None:
199199
if not self._is_host_target():
200+
tankerci.run(
201+
"cargo", "build", "--target", self.target_triplet, cwd=self.src_path
202+
)
200203
ui.info(self.profile, "is a cross-compiled target, skipping tests")
201204
return
202205
tankerci.run("cargo", "fmt", "--", "--check", cwd=self.src_path)

0 commit comments

Comments
 (0)