Skip to content

Releases: houseabsolute/actions-rust-cross

v0.0.10

10 Dec 23:41
3de9261
Compare
Choose a tag to compare
  • Fixed handling of crates with multiple binaries. Attempting to strip binaries for such a crate caused the build to fail. Reported by Tomaž Hribernik. GH #8
  • Added a new cross-version parameter. This can be specified to make this action use a specific version of cross. If this is not specified, the latest version will be used.

v0.0.9

10 Sep 20:17
e89db86
Compare
Choose a tag to compare
  • Added a working-directory parameter. By default this is the current directory (.) but you can set it to something else to compile a single crate or workspace in a subdirectory of the repo. This allows you to use this action with monorepos with multiple crates. Based on GH #7 by @aaronvg.

v0.0.8

22 Jul 16:34
77a5caf
Compare
Choose a tag to compare
  • For builds that need the cross binary, this binary is now cached. A cache hit saves about 20 seconds in my tests. Suggested by @timon-schelling. GH #4.

v0.0.7

22 Apr 04:18
d788e00
Compare
Choose a tag to compare
  • The toolchain argument was (probably) not being respected with cross builds, though it's hard to be sure since none of the output from past CI runs I've looked at it includes the toolchain version in the output. But now the toolchain version is explicitly passed to all cargo and cross commands.

v0.0.6

22 Apr 04:19
356ca41
Compare
Choose a tag to compare
  • When the strip parameter was true, stripping binaries could fail if there were both target/*/debug and target/*/release directories present and the debug directory didn't have a binary. Now it will strip all binaries it finds under target.

v0.0.5

20 Mar 16:24
91d78d9
Compare
Choose a tag to compare
  • Fix use of dtolnay/rust-toolchain action to allow passing a toolchain input.

v0.0.4

20 Mar 16:24
ec63efb
Compare
Choose a tag to compare
  • Added a new toolchain parameter to allow selecting a Rust toolchain other than stable. This supports picking on of "stable", "beta", or "nightly".
  • Fixed binary stripping to work in more situations. Previously it depended on a very specific setup plus expected to be run in the context of the matrix I use for my own projects.
  • Fixed a reference to a matrix variable that should have referenced an input variable.

v0.0.3

17 Mar 15:16
2f68f63
Compare
Choose a tag to compare
  • This action now supports running the build and test commands, or both, with a new input parameter, command. The default is build.

v0.0.2

05 Mar 21:17
9a60212
Compare
Choose a tag to compare
  • Fixed some typos in the README.md documentation.

v0.0.1

05 Mar 21:12
ccbe659
Compare
Choose a tag to compare
  • First release upon an unsuspecting world.