Commit Graph

34 Commits

Author SHA1 Message Date
Taiki Endo 8f2c088750 ci: Use cargo-hack's --rust-version flag for msrv check
This respects rust-version field in Cargo.toml, so it removes the need
to manage MSRV in both the CI file and Cargo.toml.
2024-01-07 13:20:09 +09:00
Piotr Osiewicz e909f77172
m: Add leap_unwrap & make RawTask::TASK_LAYOUT non-optional
This PR makes RawTask::TASK_LAYOUT non-optional by panicking in const context in case of not having it. Note that due to MSRV being 1.47 a panic! could not be used in const context, so I resorted to out of bounds array read.
The error message in case of failure is that of the faulty expression ('async_task_failed_to_compile[1]'), which is pretty bad, but in reality we should not be getting there ever.
2023-12-14 15:13:56 -08:00
ivmarkov f222e1ced0
feat: Support for CPU architectures with no atomic instructions
Adds a `portable-atomic` feature to support these architectures.
2023-10-11 08:43:00 -07:00
Taiki Endo c240866704 Update actions/checkout action to v4 2023-09-10 18:21:24 +09:00
Taiki Endo 9ff587ecab Minimize GITHUB_TOKEN permissions
Refs: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token
2023-03-26 16:33:40 +09:00
Taiki Endo 97b97f46c8 Set CARGO_NET_GIT_FETCH_WITH_CLI=true in CI 2023-03-26 16:33:01 +09:00
John Nunley 194e7a56ca
Add async-executor test to the CI (#44) 2023-03-24 04:27:11 -07:00
Taiki Endo 9eb81969cc Enable dependabot update for Rust 2022-12-28 12:28:11 +09:00
Taiki Endo b792decfe6 Clean up CI config 2022-12-28 12:28:11 +09:00
Taiki Endo 6a43c00517 Remove msrv field from .clippy.toml
Since Rust 1.64, Clippy respects `rust-version` field in Cargo.toml.
rust-lang/rust@b776fb8
2022-11-27 00:32:43 +09:00
Taiki Endo 06fe691ea3 Enable -Zmiri-strict-provenance 2022-08-16 22:54:42 +09:00
Taiki Endo b45e15dd73 Apply clippy to tests and examples 2022-07-17 21:44:54 +09:00
John Nunley 8a6ffad662
Evaluate the layouts for the tasks at compile time (#30) 2022-07-07 21:32:40 +09:00
Taiki Endo e8b536caaf Update CI config 2022-07-03 00:30:39 +09:00
Taiki Endo 512262efdd
Update MIRIFLAGS (#28) 2022-07-03 00:30:11 +09:00
Taiki Endo 8a886c252a Revert "Temporarily disable Miri weak memory emulation"
This reverts commit 545b5ab2d0.
2022-06-23 23:16:51 +09:00
Taiki Endo f943443b63 Disable Miri preemption 2022-06-17 19:23:28 +09:00
Taiki Endo 545b5ab2d0 Temporarily disable Miri weak memory emulation 2022-06-16 22:46:26 +09:00
Taiki Endo 2aeac0fba8 Run Miri on CI 2022-05-01 15:31:51 +09:00
Taiki Endo cb0f36f792 Update actions/checkout action to v3 2022-05-01 14:01:38 +09:00
Taiki Endo 5913e3a6ee Use install-action to install valgrind 2022-01-10 11:54:13 +09:00
Taiki Endo 0042386eff Fix CI 2022-01-09 02:19:32 +09:00
Taiki Endo da96d3f7ab Create GitHub release automatically 2022-01-08 22:14:07 +09:00
Taiki Endo 1c9d4cf0b7 Clean up CI config 2022-01-08 22:11:37 +09:00
Taiki Endo 58ab12630d Fix CI 2020-12-24 18:29:42 +09:00
Stjepan Glavina 6bddb9286b
. 2020-11-30 12:30:27 +01:00
Stjepan Glavina 254e1a7d12 Don't let clippy fail the build 2020-05-11 12:23:20 +02:00
Stjepan Glavina b39e48f767 Remove loc from CI 2020-05-11 12:11:33 +02:00
Stjepan Glavina 6dfc2d15b1 Remove benches from check 2020-05-11 12:09:27 +02:00
Stjepan Glavina 42514c2b02 Fix failing CI 2020-05-11 11:58:31 +02:00
Stjepan Glavina a2c1fa887e Fix failing CI 2020-05-11 11:19:38 +02:00
Stjepan Glavina c1b6c98987 Fix failing CI 2020-05-11 11:02:38 +02:00
Stjepan Glavina b7a3f3d792 Switch to Github workflows 2020-05-11 09:44:53 +02:00
Stjepan Glavina ff4604604a Add github dir 2020-05-10 22:35:33 +02:00