79 Commits

Author SHA1 Message Date
Paul Dicker
8b1364f680 CI: Treat some features as mutually exclusive in cargo hack check 2024-04-04 09:08:02 +02:00
Paul Dicker
0b9b160d1e CI: Skip oldtime, rkyv and wasmbind in cargo hack check 2024-04-04 09:08:02 +02:00
Jubilee Young
6c4e735675 Justify not using --all-features with rkyv 2024-03-30 15:01:40 +01:00
Jubilee Young
6c86cd1560 Remove rustc-serialize from library 2024-03-30 15:01:40 +01:00
Paul Dicker
60f8b742c9 CI: only run cargo hack check on Linux 2024-02-14 15:05:36 +01:00
Paul Dicker
4d4ff14bb9 CI: test cross-compiling to x86_64-unknown-illumos instead of Solaris 2024-02-13 22:44:14 +01:00
Paul Dicker
1cebe0cfda Run GitHub Actions on push to 0.5.x branch 2024-02-12 10:36:23 +01:00
Paul Dicker
baa55d0847 CI: test arbitrary feature 2024-01-26 15:55:32 +01:00
Gerd Zellweger
849932b09b Change the CI --all-features to an explicit list.
This is due to the mutually exclusive features in rkyv which
we expose now. `--all-features` will now activate them and the crate
will fail to compile rkyv. We work around this by defining
an explicit list of all mutually exclusive features to.

Unfortunately there isn't an easy way to share env variables
among different YAML files
(https://github.com/actions/runner/issues/655).

There also isn't a good way to specify `--all-features` minus
"just a few" (https://github.com/rust-lang/cargo/issues/3126)
aside from giving the complete list.

Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
2023-12-29 09:51:40 +01:00
Matt Mastracci
c0f418bbbf Split clock feature into clock and now 2023-11-08 15:48:17 +01:00
Dirkjan Ochtman
dd3f2f81c4 Bump MSRV to 1.61 2023-11-07 11:17:45 +01:00
jtmoon79
fbd67ab02c test.yml remove errant with: node-version 2023-11-06 09:27:29 +01:00
dependabot[bot]
15c8885365 Bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 17:40:46 +01:00
Mikhail Katychev
02bdd1ddc8
archive derive of PartialEq for rkyv - 0.4.x (#959) 2023-10-10 16:25:06 +02:00
Paul Dicker
90a9913cf8 CI: remove exception for __doctest feature in cargo hack check 2023-09-11 09:22:50 +02:00
Paul Dicker
85d4f7f590 Bump actions/checkout from 3 to 4 2023-09-11 09:22:50 +02:00
Paul Dicker
e39346e287 Move benchmarks to a separate crate 2023-09-03 07:08:09 +02:00
Paul Dicker
0fce0d85d3 CI: run tests for wasm32-wasi target 2023-09-01 11:55:12 +02:00
Paul Dicker
417fae8afc CI: Remove cargo-hack from test_wasm 2023-09-01 11:55:12 +02:00
Paul Dicker
bbd5be5592 CI: test i686 Linux 2023-09-01 11:55:12 +02:00
Paul Dicker
a1b9d0d931 CI: merge jobs timezones_linux and timezones_other 2023-09-01 11:55:12 +02:00
Paul Dicker
00d389e522 CI: Skip winapi feature in cargo hack check
(already covered by the `clock` feature)
2023-08-29 15:25:30 +02:00
Paul Dicker
80238b5e1b Deny warnings 2023-08-12 06:47:24 +02:00
Paul Dicker
6c75fd6905 Also check tests 2023-08-12 06:47:24 +02:00
Paul Dicker
a71eaaf616 [CI] Skip libc feature in features_check 2023-08-12 06:47:24 +02:00
Paul Dicker
20e73591fc Raise MSRV to 1.57 2023-07-27 14:56:37 +02:00
Paul Dicker
34003e3be9 [CI] Test more no_std combinations 2023-07-18 17:07:13 +02:00
Paul Dicker
7711690161 Also run integration tests with no_std on CI 2023-07-04 11:44:33 +02:00
Paul Dicker
582d2aa554 [CI] Test wamsbind 2023-06-07 13:39:36 +02:00
Paul Dicker
3760f2a23d [CI] Run all test on Windows and MacOS 2023-06-05 07:40:19 +02:00
jtmoon79
f616167f8b yamllint cleanup lint.yml test.yml
NFC fix most `yamllint` errors and warnings in
`lint.yml` and `test.yml`.
2023-05-30 09:46:18 +02:00
jtmoon79
c0a99b747b Use bash instead of sh
The script at the URL uses bash-isms. Previously `sh` was silently emitting
an error but by luck was succeeding.
2023-05-29 10:42:56 +02:00
jtmoon79
42fca00f2b test.yml run statement should fail early
Force the `run` script to fail early using bash shell
`set` options.

Previously, errors before the last statement of the script would be
ignored.
2023-05-29 10:42:56 +02:00
RumovZ
b4c7fb4688
Extract timezone info from tzdata file on Android (#978) 2023-05-26 11:40:19 +02:00
Paul Dicker
40ed3bf063 Update github actions 2023-05-15 15:19:10 +02:00
Paul Dicker
386f32705e [CI] Run tests with --no-default-features 2023-05-12 08:50:07 +02:00
Dirkjan Ochtman
816f5bd48c Bump MSRV to 1.56 2023-05-10 11:56:29 +02:00
Dirkjan Ochtman
a6e7a3e268 Don't check serde support against our MSRV
serde now has a 1.56 MSRV via syn 2.
2023-03-20 13:23:58 +01:00
Dirkjan Ochtman
daa86a77d3 Check benchmarks in CI 2023-03-10 13:15:31 +01:00
Dirkjan Ochtman
b1e0963efc Bump rust-cache action to v2 2023-03-10 13:15:31 +01:00
LingMan
d1043f39c8 Add chrono-fuzz to CI
Ensures future changes to break it again.
2023-03-03 11:42:39 +01:00
LingMan
90c7e55738 Run CI on changes to any file
Currently CI is only run on changes to specific files. The list of these files incomplete and would
likely get outdated again if it were expanded. Exluding specific files would be a shorter, more
stable list.
However, the changelog is only kept for posterity and the readme has seen all of two commits in the
past three years that wouldn't have triggered CI by changing other files as well, so don't bother
and just run CI for any changed file.
2023-03-03 11:42:39 +01:00
Eric Sheppard
7d1060e141 use --all-features when testing other timezones and rust_versions, test 1.38.0 by itself with less features
fix 1.38.0 tests

add back default features in rkyv
2022-09-26 12:47:29 +02:00
Eric Sheppard
2474b02198 update check-docs 2022-09-26 12:47:29 +02:00
Eric Sheppard
c59235aca2 update cross-targets 2022-09-26 12:47:29 +02:00
Eric Sheppard
e2dca90c19 consolidate wasm, add wasm features check 2022-09-26 12:47:29 +02:00
Eric Sheppard
bbf5168f13 consolidate no_std 2022-09-26 12:47:29 +02:00
Eric Sheppard
2827c22762 split test job into timezones, timezones linux, rust versions and powerset features check 2022-09-26 12:47:29 +02:00
Dirkjan Ochtman
147089b78f Run CI on PRs to 0.4.x branch 2022-09-19 15:36:22 +02:00
René Kijewski
e1b2675cbf Update documentation test on CI 2022-08-22 20:26:38 +02:00