103 Commits

Author SHA1 Message Date
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
Dave Rolsky
91d78d9182
Use dtolnay/rust-toolchain@master instead of @stable
This allows passing the `toolchain` input.
2023-03-20 12:18:06 -04:00
Dave Rolsky
30e7adeceb
Add toolchain input to README.md docs 2023-03-19 17:43:22 -04:00
Dave Rolsky
ec63efbd36
Changes for 0.0.4 2023-03-19 17:41:41 -04:00
Dave Rolsky
54e4a464ed
Remove tests that $PATH is left alone
This test isn't really needed, and it's causing spurious CI failures because
it's hitting GitHub API rate limits.
2023-03-19 17:41:41 -04:00
Dave Rolsky
d1d76ade32
Fix stripping and test it 2023-03-19 17:41:41 -04:00
Dave Rolsky
2bfd2f169a
Fix target to use the input, not a matrix 2023-03-19 11:03:24 -04:00
Dave Rolsky
42a1f46405
Add support for specifying which toolchain to use 2023-03-19 11:03:05 -04:00
Dave Rolsky
58c5e42ace
Pass GITHUB_TOKEN in self-test workflow 2023-03-17 11:17:02 -04:00
Dave Rolsky
2f68f636e2
Add support for running test command as well as build 2023-03-17 11:12:36 -04:00
Dave Rolsky
5bd32448aa
Add self-test workflow 2023-03-12 18:30:36 -04:00
Dave Rolsky
4dfe96e52b
Add Rust project for self-testing 2023-03-12 10:37:46 -04:00
Dave Rolsky
9a602122c2
Changes for v0.0.2 2023-03-05 15:16:31 -06:00
Dave Rolsky
b34ced72c6
Add dev tooling to use precious 2023-03-05 15:15:31 -06:00
Dave Rolsky
aa7ccd3cba
Fix typos in README.md 2023-03-05 15:15:22 -06:00
Dave Rolsky
ccbe659f48
Shorten description to < 125 chars 2023-03-05 15:11:24 -06:00
Dave Rolsky
4202d54422
Add code of conduct to repo 2023-03-05 15:07:30 -06:00