69 Commits

Author SHA1 Message Date
Aditya Manthramurthy
9e709706e7
Put test 'args' at the end of the test command
For test commands, there can be arguments passed to the test binary like `-- --ignored` or `--
--test-threads=1`. For these cases to work properly, the `args` parameter needs to be added to the
end of the 'test' command.
2024-11-11 12:42:15 -05:00
Seppe
294bb6a7fe Fix incorrect parameter name in README.md example config 2024-10-19 12:38:21 -04:00
Dave Rolsky
99d882779c
Remove reference to matrix.toolchain in README.md example config 2024-10-13 16:53:55 -05:00
Dave Rolsky
9a3029eecb
Clarify what runner images this action works with 2024-10-13 16:52:41 -05:00
Dave Rolsky
ede19eddfb
Update example matrix in README.md 2024-10-13 16:49:06 -05:00
Dave Rolsky
e021eb0bd0
Only install musl if not compiling with cross 2024-09-21 14:37:45 -05:00
Dave Rolsky
2092d69e17
Remove ${{ ... }} around if blocks 2024-09-21 13:46:59 -05:00
Dave Rolsky
d5709df172
Show use of actions-rust-release in README.md 2024-09-21 12:00:40 -05:00
Dave Rolsky
ad283b2fc6
Install musl-tools if the target name contains "musl" 2024-08-25 12:08:48 -05:00
Dave Rolsky
52a0827e28
Fix README - tests still fail on non-x86 Windows 2024-08-20 16:40:37 -05:00
Dave Rolsky
e4e3cc18ae
Update README to remove bit about tests not working on Windows or macOS ARM 2024-08-20 16:38:47 -05:00
Dave Rolsky
46b4378cc7
Add release date to changes 2024-05-18 13:22:04 +08:00
Dave Rolsky
e67629a125
Run some tests without caching disabled 2024-05-18 13:19:55 +08:00
Dave Rolsky
83cb238ff9
Force install from git to make sure we can always find cross binary 2024-05-18 12:53:41 +08:00
Dave Rolsky
b80da53df0
Add test for cross from git 2024-05-18 12:40:50 +08:00
Dave Rolsky
6f63b60be6
Tighten regex for release version 2024-05-18 12:40:50 +08:00
Dave Rolsky
ace37a7d90
Print cross version after it's installed 2024-05-18 12:40:50 +08:00
Dave Rolsky
2297f8e434
Add typos command for linting and tidying and fix issues it found 2024-05-18 12:28:18 +08:00
Dave Rolsky
9b467e6799
Add shell linting and tidying and update all shell scripts 2024-05-18 12:28:18 +08:00
Dave Rolsky
c464bd9469
Make it possible to install cross from a git tag 2024-05-18 12:28:18 +08:00
Dave Rolsky
a0b2ccd631
Add more info for latest Changes.md entry 2024-02-25 18:08:12 +08:00
Dave Rolsky
8c9b9d6490
Add Changes.md entry for 0.0.12 2024-02-25 18:07:08 +08:00
Dave Rolsky
778bb6075f
Bump actions/checkout to v4 2024-02-25 18:05:42 +08:00
Dave Rolsky
1bbdab0f68
Merge pull request #13 from hms5232/bump-actions/cache-v4
Bump actions/cache to v4
2024-02-25 18:04:58 +08:00
hms5232
c40662f61a
Bump actions/cache to v4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
2024-02-25 17:47:18 +08:00
Dave Rolsky
7d5643fe34
Small formatting tweak in test code 2024-02-12 19:24:26 +08:00
Dave Rolsky
3be49880a3
Add workaround for NetBSD issues in test-project 2024-01-27 15:23:30 +08:00
Dave Rolsky
070eee0271
Remove the Linux MIPS targets from the tests
This target is no longer supported by the Rust compiler.
2024-01-27 15:19:38 +08:00
Dave Rolsky
d4b2d5201c
Add release date to Changes.md 2023-12-17 09:53:53 -06:00
Dave Rolsky
e1ea800ed7
Use cross when building for Linux 32-bit targets
While in theory this should work without `cross`, compiling `openssl` with the
`vendored` feature fails when we run `cargo build --target i686-unknown-linux-musl`.
2023-12-17 09:51:41 -06:00
Dave Rolsky
fc51bd6dfd
Small wording tweak in README.md 2023-12-10 17:43:14 -06:00
Dave Rolsky
d02a87e838
Replace "binary" with "binaries" in docs 2023-12-10 17:42:14 -06:00
Dave Rolsky
3de92613ad
Add release date to Changes.md 2023-12-10 17:40:22 -06:00
Dave Rolsky
c507aeb1b5
Handle multiple binaries in one crate 2023-12-10 11:21:49 -06:00
Dave Rolsky
9fb7236944
Remove unused test code 2023-12-10 11:21:49 -06:00
Dave Rolsky
883c7a0854
Add cross-version parameter to specify cross version 2023-12-10 10:58:39 -06:00
Dave Rolsky
ef5051e603
Fix typo in README.md 2023-12-10 10:31:19 -06:00
Dave Rolsky
e89db86c83
Fix action name
I didn't mean to change this.
2023-09-10 15:16:02 -05:00
Dave Rolsky
d3cc976c26
Fix typo in README.md 2023-09-10 15:12:49 -05:00
aaronvg
42fe96a4c1
Add support for a "working-directory" parameter
This commit updates the tests to check that this works and also rewrites the
test script from Bash to Perl.

Co-authored-by: Dave Rolsky <autarch@urth.org>
2023-09-10 15:12:49 -05:00
Dave Rolsky
77a5caf54b
Add release date for 0.0.8 2023-07-22 11:32:39 -05:00
Dave Rolsky
7c7b8fbbff
Add lint workflow for GH Actions 2023-07-22 11:31:06 -05:00
Dave Rolsky
ab89553767
Update precious config to line wrap all Markdown files 2023-07-22 11:28:43 -05:00
Dave Rolsky
5d15c12d99
Note that Swatinem/rust-cache just works with this action 2023-07-22 11:26:35 -05:00
Dave Rolsky
b1e766fe8f
Add caching of the installed cross binary 2023-07-22 11:17:30 -05:00
Dave Rolsky
dd8fb2fac4
Fix tests to always test the commit that was just pushed 2023-07-22 11:14:46 -05:00
Dave Rolsky
ab3f022734
Remove anything related to installing cross on Windows
There are no targets on Windows that require cross so this is never getting
invoked.
2023-07-22 09:51:24 -05:00
Dave Rolsky
e41de97f0a
Fix incorrect step name 2023-07-22 09:27:13 -05:00
Dave Rolsky
d788e00f15
Always pass "+toolchain" to cargo or cross
I don't think this was actually using the specified toolchain, at least not
when cross compiling.
2023-04-21 23:14:21 -05:00
Dave Rolsky
356ca41f7d
Make strip script strip all binaries under target
If there were both debug & release dirs it would only strip one binary, and if
the debug dir had no binary at all it would error, even if the release dir had
one.
2023-04-21 22:39:30 -05:00