24 Commits

Author SHA1 Message Date
Dave Rolsky
f0ceffbf58
Update all CI jobs using ubuntu to 24.04 2025-02-15 12:54:42 -06:00
Dave Rolsky
242cf4bba9
Rename all matrix keys to use dashes instead of underscores 2025-01-11 12:55:43 -06:00
Dave Rolsky
8a64ff717c
Run tests twice, one for main crate and once for subcrate
It seems like restoring the cache for subcrate deletes sometimes removes the compiled binaries for
the parent crate. I'm not sure what's going on here, as it doesn't happen every time.
2025-01-11 12:55:43 -06:00
Dave Rolsky
3d79b24531
Rename os to runs-on in test matrix workflow 2024-12-21 22:17:14 -06:00
Dave Rolsky
dbeb1eb6a2
Replace all Perl scripts with Rust 2024-12-21 22:17:14 -06:00
Dave Rolsky
dad7ec15de
Validate inputs to this action 2024-12-21 22:17:14 -06:00
Dave Rolsky
3f82d5723e
Use Ubuntu 22.04 for test workflow 2024-12-21 21:50:18 -06:00
Dave Rolsky
fe9ef8cc9c
Add mise config and use ruff for Python linting/tidying 2024-12-21 21:50:18 -06:00
Raul Victor Trombin
8a96988e48 Add support for running cargo bench or cross bench 2024-11-23 17:14:43 -06:00
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
Dave Rolsky
e67629a125
Run some tests without caching disabled 2024-05-18 13:19:55 +08:00
Dave Rolsky
b80da53df0
Add test for cross from git 2024-05-18 12:40:50 +08:00
Dave Rolsky
778bb6075f
Bump actions/checkout to v4 2024-02-25 18:05:42 +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
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
883c7a0854
Add cross-version parameter to specify cross version 2023-12-10 10:58:39 -06: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
7c7b8fbbff
Add lint workflow for GH Actions 2023-07-22 11:31:06 -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
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
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