44 Commits

Author SHA1 Message Date
Dirkjan Ochtman
2068695b55 Remove test-release workflow 2022-09-26 14:55:36 +02: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
Eric Sheppard
eb82ae603d adjust lint workflow 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
Dirkjan Ochtman
9c4604c0f8 Make the changelog historical from now on 2022-08-27 15:51:04 +02:00
René Kijewski
e1b2675cbf Update documentation test on CI 2022-08-22 20:26:38 +02:00
Trevor Arjeski
511d368990 Add sgx build to CI 2022-08-12 17:52:25 +02:00
Eric Sheppard
fe4bd220d2 allow optional wasmbindgen
use wasmbind feature
2022-08-12 13:49:11 +02:00
Eric Sheppard
557bcd5f44
handle missing /etc/localtime on some unix platforms (#756)
* msrv -> 1.38

* default to UTC  when iana-time-zone errors and /etc/localtime is missing, support android

fix function name
2022-08-09 23:43:30 +10:00
Eric Sheppard
27c05589ac dont use stub.rs when wasmbind feature is enabled
no longer require wasmbind feature to get js-sys on wasm32-unknown-unknown target

fix comment and remove wasmbind feature from tests

add wasi test

add wasi test
2022-07-28 13:57:09 +02:00
Eric Sheppard
56f80e4366 run on all branches and also for changes in the ci folder 2022-07-28 13:57:09 +02:00
Dirkjan Ochtman
686f72038e Simplify cross installation 2022-07-04 15:07:06 +02:00
Dirkjan Ochtman
3a7d0e4806 Fix formatting in GitHub workflows 2022-06-08 11:39:31 +02:00
Dirkjan Ochtman
6d392f077e Stop testing very old Ubuntu 2022-06-08 11:39:31 +02:00
Ethan D Twardy
7097f933eb
Fix "can't leak crate-private type in stub.rs" #662 (#684)
First attempt to fix this issue for wasm32-unknown-* targets by
changing visibility of functions not to leak crate-private types.

Ensure the default toolchain is used for the wasm_unknown CI test.
2022-05-12 14:45:47 +02:00
Yureka
a9ec3c9ca3 add wasm32-unknown-emscripten test 2022-04-09 13:04:53 +02:00
Dirkjan Ochtman
e4c8a529f5 Update to 2018 edition (and MSRV 1.32) 2022-03-19 20:38:12 -07:00
Milo
9c7eee4239 use it every where else 2021-10-26 10:00:35 +01:00
Milo
85abd0120e use cache in no_std 2021-10-26 09:59:33 +01:00
Milo
88e491569a fix uses 2021-10-26 09:56:25 +01:00
Milo
c4306b2155 caching 2021-10-26 09:52:35 +01:00
Brandon W Maister
0a8702d845 ci: Ubuntu 16.04 is no longer supported by GH 2021-10-18 22:03:10 -04:00
Brandon W Maister
fafea35b9e Check that documentation builds without warnings on nightly
This should ensure that all intra-doc links are correct.
2020-11-13 12:12:28 -05:00
Brandon W Maister
fbc1b93431 Check that we compile on solaris
This also adds infrastructure to make it easier to add more check targets in
the future.
2020-09-30 10:27:10 -04:00
Brandon W Maister
c324d0ea08
Always run tests on merge (#487) 2020-09-29 17:26:41 -04:00
Brandon W Maister
42a877f1bd Run tests when Cargo.toml changes 2020-09-26 11:19:25 -04:00
Brandon W Maister
cb79089295 Test workflow changes when workflows change 2020-08-14 14:55:40 -04:00
Brandon W Maister
58819de920 Run cargo check on more feature combinations 2020-08-14 14:55:40 -04:00
Brandon W Maister
6426498d07 Always test release branches 2020-08-07 10:59:12 -04:00
Brandon W Maister
130253ef2b
Support testing on both main and master (#454) 2020-07-11 13:56:02 -04:00
Brandon W Maister
13c2f0bfc2 Pin version of shellcheck
0.4.0 caused https://github.com/ludeeus/action-shellcheck/issues/21
2020-07-05 18:56:17 -04:00
Brandon W Maister
cc943c9650
Only run tests when rust files have changed (#443) 2020-07-01 18:27:38 -04:00
Brandon W Maister
0e0178adfe
Merge pull request #439 from quodlibetor/lint-alot
Lint things: clippy and rustfmt
2020-06-29 18:49:00 -04:00
Brandon W Maister
e4a6f3e830 wasm-pack appears to segfault occasionally on ubuntu
See this for example, where it segfaulted on `--version`:

https://github.com/chronotope/chrono/pull/412/checks?check_run_id=814649507

Probably the same thing as https://github.com/rustwasm/wasm-pack/issues/823
2020-06-27 17:25:38 -04:00
Brandon W Maister
e0412b7813 Enable clippy lints and deny all warnings 2020-06-27 16:55:15 -04:00
Brandon W Maister
991a8c1bd8
Add a pull-request template (#438) 2020-06-27 16:10:10 -04:00
Brandon W Maister
c2fe38cd84 clean up github workflows ui
This puts different kinds of tests in different job names, instead of
shoehorning them into the matrix.
2020-06-27 15:25:17 -04:00
Brandon W Maister
ad2461062f Deal with time not working on windows with rust 1.13 2020-06-21 23:55:41 -04:00
Brandon W Maister
4ae60dfb84 Add github actions config 2020-06-21 23:38:45 -04:00