Commit Graph

43 Commits (f028389393d74ae5b23bc5482a1a1de9abbd8576)

Author SHA1 Message Date
Wilfred Hughes ddb4bc7013 Show context when regression test fails 2022-07-04 19:51:04 +07:00
Xuanwo 3939359617
ci: Use stable rust for code coverage
Signed-off-by: Xuanwo <github@xuanwo.io>
2022-05-03 15:56:59 +07:00
Xuanwo 72533ab325
ci: Adopt rust-toolchain instead
Signed-off-by: Xuanwo <github@xuanwo.io>
2022-05-03 15:53:42 +07:00
Wilfred Hughes 80429e9697 Include cargo version in the generated manual 2022-04-21 00:31:06 +07:00
Wilfred Hughes f22f436f12 Use latest mdbook for manual build 2022-04-16 13:53:32 +07:00
Wilfred Hughes 6a566b33f5 Use the same Rust version for release 2022-04-10 15:38:49 +07:00
Wilfred Hughes 43c50ae1bb Publish to crates.io from GitHub action too 2022-04-10 13:07:03 +07:00
Wilfred Hughes a0ac25c69f Clarify action name 2022-04-10 12:54:24 +07:00
Wilfred Hughes c1bc2b6ad0 Test on all of Linux, Mac and Windows 2022-04-10 12:41:36 +07:00
Wilfred Hughes 5b56bbbc3c Skip changelog parsing for now 2022-04-10 12:23:59 +07:00
Wilfred Hughes 2d2c05b783 Basic release configuration using GitHub actions
Based on
https://github.com/marketplace/actions/build-and-upload-rust-binary-to-github-releases
2022-04-10 10:58:41 +07:00
Wilfred Hughes ff89ac3c75 Fix duplicate job name 2022-04-09 23:31:19 +07:00
Wilfred Hughes 99a49ea388 Run cargo check on macOS too 2022-04-09 23:29:21 +07:00
Wilfred Hughes 36bc2b4462 Update to latest recommended steps for coverage 2022-04-09 12:11:43 +07:00
Wilfred Hughes 42884b73a0 Build C dependencies before C++ to fix linking on Rust nightly
See discussion in https://github.com/rust-lang/rust/issues/95561
2022-04-03 10:41:49 +07:00
Wilfred Hughes 669ee1af89 Disable coverage as cargo-llvm-cov depends on rust nightly
Nightly no longer compiles difftastic due to a rust issue with
linking: https://github.com/rust-lang/rust/issues/95561
2022-04-02 22:28:19 +07:00
Wilfred Hughes 276be1528c Prefer the upstream cargo-llvm-cov CI step 2022-04-02 16:17:34 +07:00
Wilfred Hughes a4ca19f9f9 Pin nightly version due to build failures with more recent versions
Seeing failures on rustc 1.61.0-nightly (0677edc86 2022-03-31).
2022-04-02 16:07:41 +07:00
Wilfred Hughes fa4a662645 Fix typo and clarify VCS 2022-03-20 22:32:49 +07:00
Wilfred Hughes fdf5c2f88e Improve bug report template wording
Closes #138
2022-03-12 17:44:54 +07:00
Wilfred Hughes 50a3eb958e
Update issue templates 2022-03-12 17:37:14 +07:00
Wilfred Hughes 0ee982a138 Bump rust version used to build docs 2022-03-05 11:04:19 +07:00
Wilfred Hughes 2d4ec0a4be Bump minimum Rust version to 1.56 for rpds support 2022-03-05 10:42:52 +07:00
Wilfred Hughes 0905fb74c3 Simplify usage of regression test suite 2022-02-24 20:35:36 +07:00
Wilfred Hughes 52aaea4418 Try checking output on GH actions 2022-02-20 20:28:37 +07:00
Wilfred Hughes e4021bd38a Disable regression test on CI 2022-02-20 13:16:22 +07:00
Wilfred Hughes 33d4ac1162 Check regression test output 2022-02-20 13:09:29 +07:00
Wilfred Hughes d3afd5d40a Run regression test in CI 2022-02-20 12:59:46 +07:00
Wilfred Hughes 2e61df4fac Update to latest mdbook 2021-12-17 09:25:34 +07:00
Wilfred Hughes e53b6f4212 Use rustdoc as subdir name 2021-11-21 19:03:13 +07:00
Wilfred Hughes b64f7a47d7 Add rustdoc output to manual site 2021-11-21 18:56:51 +07:00
Wilfred Hughes fc8a9f8d50 Try deploying to github pages instead
Surge works pretty well, but their servers seem slow (~1.3 seconds to
respond).
2021-11-20 00:15:35 +07:00
Wilfred Hughes a87882c0a3 Increase required rust version
radix-heap uses macros for built-in arguments, which was added in Rust
1.54:
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1540-2021-07-29
2021-10-30 12:46:42 +07:00
Wilfred Hughes c0cd13bd9b Pin Rust version to 1.46
Specify the minimum Rust version in cargo.toml, exercise this version in CI,
and document it in the manual.

We require 1.46 for bitflags, which is a dependency of clap.

Fixes #51
2021-10-29 00:20:07 +07:00
Wilfred Hughes 47ae24d7c3 Run `cargo package` as part of test suite 2021-09-14 00:11:19 +07:00
Wilfred Hughes 05df450601 Use 'manual' terminology consistently 2021-09-08 23:15:32 +07:00
Wilfred Hughes 7981dc0867 Fix name/command mixup in docs deploy config 2021-09-08 22:33:53 +07:00
Wilfred Hughes 689836a833 Clarify docs deploy as it doesn't use gh-pages 2021-09-08 22:06:12 +07:00
Wilfred Hughes d9ba38dd75 Build docs with mdbook and deploy to surge.sh 2021-09-08 21:59:45 +07:00
Wilfred Hughes a17542034d Try llvm-cov for coverage
tarpaulin is missing coverage entirely in several files.
2021-09-04 16:00:22 +07:00
Wilfred Hughes 768b93a501 Add action to compute test coverage 2021-09-04 15:49:20 +07:00
Wilfred Hughes 6f9d5277a0 Don't bother with clippy on CI for now 2021-03-07 14:10:44 +07:00
Wilfred Hughes b00d61fea3 Configure GitHub actions 2021-03-07 13:16:14 +07:00