53 Commits

Author SHA1 Message Date
Diggory Hardy
9e030aa221
Migrate remaining benchmarks to Criterion (#1490)
Translate everything still using the old test harness to Criterion.
2024-09-06 09:07:47 +01:00
Bruce Mitchener
f7bbccaedf
Rename serde1 feature to serde. (#1477) 2024-07-26 08:48:53 +01:00
Artyom Pavlov
6a4650691f
Fix benches CI job (#1456) 2024-05-24 15:03:57 +01:00
Artyom Pavlov
10a1fa4d22
Tweak docs CI job (#1451) 2024-05-11 13:42:15 +03:00
Artyom Pavlov
1b762b2867
Apply rustfmt and fix Clippy warnings (#1448) 2024-05-09 07:50:08 +01:00
Diggory Hardy
bf0301bfe6 Fix test.yml 2024-04-27 09:25:00 +01:00
Diggory Hardy
13620d9775 Test feature serde1 on rand_chacha 2024-04-27 08:22:51 +01:00
Vinzent Steinberg
0935356be9 Fix benches test in pipeline 2024-04-26 14:25:51 +02:00
Vinzent Steinberg
6f917e1f16 Move rand benches to their own crate 2024-04-26 14:21:28 +02:00
Diggory Hardy
d42daabf65
Add "bug report" issue template (#1436) 2024-04-10 16:29:51 +01:00
dependabot[bot]
2f6fee9ca3
Bump actions/configure-pages from 4 to 5 (#1427) 2024-04-02 15:48:45 +01:00
Diggory Hardy
2eaf8545d4
Bump the MSRV to 1.61.0 (#1416) 2024-03-22 12:33:33 +00:00
Diggory Hardy
5577003615
Update CHANGELOGs and prepare rand 0.9.0-alpha.0 (#1395)
Also: add pull-request template
2024-02-18 17:02:05 +00:00
Diggory Hardy
8aa456cee9
Fix gh-pages.yml by deleting .lock file
This file is does not meet actions/upload-pages-artifact permission requirements.
2024-02-18 11:33:35 +00:00
Diggory Hardy
2e13129545
Bump actions upload-pages-artifact, deploy-pages (#1396) 2024-02-18 10:47:32 +00:00
dependabot[bot]
97556c4c76
Bump actions/cache from 3 to 4 (#1385) 2024-02-13 11:15:41 +00:00
dependabot[bot]
58add64ba4
Bump actions/checkout from 3 to 4 (#1386) 2024-02-13 08:39:03 +00:00
dependabot[bot]
1ad2eece9d
Bump actions/configure-pages from 2 to 4 (#1389) 2024-02-13 08:21:36 +00:00
Vasiliy Taranov
88b2acca67
Add dependabot (#1383) 2024-02-13 07:56:18 +00:00
bjorn3
e42c385872
MSRV=1.60, use more permissive cfg on test
* Use cfg(panic = unwind) instead of a check for wasm32 to see if unwinding is supported

This allows the test to run on a future wasm target with exception support as
well as running the test suite with panic=abort on non-wasm targets.

* Bump MSRV to 1.60
2023-10-11 08:54:54 +01:00
Diggory Hardy
e609fa98fc Replace MIPS with PPC32 2023-10-10 10:17:55 +01:00
Diggory Hardy
22d0756b68
Uniform sampling: use Canon's method, Lemire's method (#1287)
Also:

* Add uniform distribution benchmarks
* Add "unbiased" feature flag
* Fix feature simd_support
* Uniform: impl PartialEq, Eq where possible
* CI: benches now require small_rng; build-test unbiased
2023-03-24 12:29:15 +00:00
Diggory Hardy
fbd95860b4
Add Criterion as dev-dependency, fix CI for MSRV and minimal-versions (#1275)
* Add criterion as dev-dependency

* CI[minimal-versions]: require regex 1.5.1
2022-12-11 17:47:51 +00:00
Alex
81d7dc7264
build: harden test.yml permissions (#1274)
Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-12-09 09:50:09 +00:00
Diggory Hardy
19169cbce9
Bump MSRV to 1.56 (Edition 2021) (#1269)
* Bump MSRV to 1.56 (Edition 2021)

* Apply Clippy suggestions

* Bump edition and add rust-version field to Cargo.toml

* CI AVR test: unpin nightly rust version

* Disable AVR test

* Bump crate version numbers for a breaking release
2022-12-06 19:01:10 +00:00
Diggory Hardy
7aa25d577e
gh-pages action: add id-token write permission (#1265)
* gh-pages action: add id-token write permission

* gh-pages action: add environment
2022-11-14 16:41:49 +00:00
Diggory Hardy
9720f110a6
Update GitHub Actions (#1263)
* examples/rayon-monte-carlo.rs: remove execute bit of file metadata

* Document in README that MSRV is 1.51.0

This was changed in #1246

* Update GitHub Actions
2022-11-10 15:36:40 +00:00
Diggory Hardy
6951164ec6 Bump MSRV to 1.51.0: support const generics by default 2022-08-14 08:59:24 +01:00
Diggory Hardy
db80c40c4b Bump MSRV to 1.38.0: fixes crossbeam-utils dev-dependency 2022-08-14 08:59:24 +01:00
Ralf Jung
a8474f7932
update Miri CI config (#1223) 2022-03-09 07:34:13 +00:00
Vinzent Steinberg
2bddede4b7 Merge branch 'master' into no-std-fix 2021-09-10 21:49:28 +02:00
Chris Connelly
9cbcfe4725 Split all feature test invocation for MSRV and non-MSRV
Since const generics are not stable in Rust 1.36.0, we cannot use the
`min_const_gen` feature when testing the MSRV.
2021-09-10 17:30:13 +01:00
Vinzent Steinberg
f7f9287071 Merge branch 'stable-test-all-features' into no-std-fix 2021-09-10 15:06:17 +02:00
Chris Connelly
cda046507d Add min_const_gen to "all stable features" test invocation
`min_const_gen` is a stable feature, but was not added to this test
invocation when it was introduced.

Unblocks #1173.
2021-09-10 01:36:47 +01:00
Brandon H. Gomes
6d4baefac7
move min_const_gen test to nightly workflow 2021-09-06 12:49:40 -04:00
Brandon H. Gomes
f5cfbc4b19
revert sample_efraimidis_spirakis and fix suggestions 2021-09-06 12:19:39 -04:00
Vinzent Steinberg
067238f057
Remove rand_hc (#1156)
* Remove `rand_hc`

We no longer need it for `rand`, so it can be moved to the `rngs`
repository.
2021-08-05 14:59:07 +02:00
Patrick Chieppe
fb6390f9d3
Fix build on non-32/64-bit architectures (#1144)
* Impl WideningMultiply for 16-bit pointers
* Add AVR CI test job
2021-07-13 15:18:57 +02:00
Diggory Hardy
b27c38372d rand_distr: add serde1 feature 2021-07-08 15:10:31 +01:00
Vinzent Steinberg
c1e0a87044 Fix Miri tests
Because Miri now runs the doctests as well, we have to make sure it does
not run them for `no_std` targets, like we do for our normal tests.
2021-04-25 15:57:11 -03:00
Vinzent Steinberg
52f9a8f496 rand_distr: Test all features 2021-03-27 00:24:00 -03:00
Diggory Hardy
22dec87aac CI: more accurate no-default-feature and nightly test targets
Also more accurate flags in examples
2021-01-25 10:35:34 +00:00
Diggory Hardy
98a1aaf28e
Merge pull request #1076 from dhardy/work
Rand v0.8, rand_distr v0.4
2020-12-18 23:25:51 +00:00
Diggory Hardy
46082d51d2 Fix installation of multilib 2020-12-18 15:48:58 +00:00
Diggory Hardy
34423a6bc8 Use cp to create redirect 2020-12-15 11:47:54 +00:00
Diggory Hardy
da3458becb Add HTML redirect 2020-12-15 10:03:34 +00:00
Diggory Hardy
95fea0ee8f Fix link in README; rename keyword as suggested in #1073 2020-12-14 14:59:52 +00:00
Diggory Hardy
33a78deb96 Add cross test (inspired by ndarray CI) 2020-12-13 11:00:07 +00:00
Diggory Hardy
545f076ccf CI: add explicit target selections 2020-12-13 11:00:07 +00:00
Diggory Hardy
9e7c010ddb Migrate tests to GH-Actions
Incomplete: Linux 32-bit, Big-Endian, Web
2020-12-13 11:00:07 +00:00