Commit graph

39 commits

Author SHA1 Message Date
97fdeea941
CI: Force changelog updates
Some checks are pending
Build / lint (push) Waiting to run
Build / test-stable (push) Blocked by required conditions
Build / test-nightly (push) Blocked by required conditions
Changelog updates are now required in MRs by default. If there is a
match for "\<skip.\?changelog\>" in the commit message, this will be
ignored.

$CI_COMMIT_MESSAGE mangles newlines so it's not possible to require the
string to be on its own line, that means it would also trigger within a
wall of text, which makes it less obvious.

Also, I wasn't able to find a CI variable which has the ref of the
branch the MR is set against, to build a tree-ish than spans over the
whole MR and not just HEAD.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-12-23 12:03:03 +01:00
xmppftw
46dc30c045 Deny doc warnings in Gitlab CI
Github/Gitea/Forgejo CI not affected because it doesnt build docs yet
2024-08-12 10:47:23 +00:00
Emmanuel Gil Peyrot
9e07882531 CI: Stop running ignored tests
This got introduced in 2e3004f89e, but
there should be no reason to run ignored tests; if they are #[ignore]
it’s probably for a good reason.

This is particularly annoying with doctests, where ignore is used to
explicitly highlight broken/untested code.

Thanks jonas’ for noticing!
2024-06-25 12:27:01 +02:00
b3e6e089da
CI: display rustfmt version
Some checks failed
Build / lint (push) Has been cancelled
Build / test-stable (push) Has been cancelled
Build / test-nightly (push) Has been cancelled
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-06-18 20:38:42 +02:00
Jonas Schäfer
0298caf97a tokio-xmpp: allow docs build with --all-features
This affects only the docs and is quite an ugly hack, but seems to be
the only way for now.
2024-04-23 19:22:04 +02:00
Jonas Schäfer
e53fa6c50c Emit feature flag tags in CI doc build, too
This doesn't do anything useful yet, because we can't build with
--all-features because of the conflicting rustls/openssl features...
2024-04-23 19:22:04 +02:00
xmpp ftw
2e0a90f447 CI: Deny future warnings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-01-27 17:44:48 +00:00
xmppftw
0949acb750 Update the MR docs base URL 2024-01-26 15:22:12 +01:00
xmppftw
b42b498a8b Parallel docs build ; don't doc deps ; push to docs.xmpp.rs 2024-01-25 17:24:20 +01:00
xmppftw
818a87802f Post comment to MR target not MR source project 2024-01-24 23:18:05 +01:00
xmppftw
5bf2ef12eb Generate docs on commits / MRs, upload to Gitlab Pages and post link in comment 2024-01-23 21:21:54 +01:00
xmppftw@kl.netlib.re
7fc46968be Deny warnings in gitlab CI 2024-01-21 13:55:39 +01:00
2e3004f89e CI: Add a test with no-default-features and ensure it passes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-17 23:45:57 +02:00
xmppftw
099b7356a6 Include libicu-dev in CI images 2023-06-06 01:07:19 +02:00
a74eeb2910 CI: Lighter docker images
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-06-05 18:01:51 +00:00
267ff2e817
CI: Replace manual rustfmt invocation with cargo fmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 20:01:21 +02:00
36e66a7ac4
CI: lint
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 20:00:55 +02:00
63733885d2
CI: Show rustc and cargo version
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-27 01:22:53 +01:00
080c7b8c95 CI: Remove build stage
`cargo test` rebuilds all of it anyway.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 15:05:16 +02:00
5eeac93f67 CI: rename jobs to make it easier to read in gitlab
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05 15:05:16 +02:00
f41b6bfd32
Use stable rustfmt
And install it as the container doesn't have it. Fortunately it's rather
quick (few seconds).

The previous nightly container apparently dropped rustfmt, which is
understandable as not all tools are available all the time. That's on
us.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-26 18:09:59 +01:00
476813a10a
CI: Allow nightly to fail
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-26 18:04:21 +01:00
7c15653fac CI: Remove cache
Gitlab.com's third-parti storage works half the time anyway, and it
takes 8min to build 3mn to get it back..

Maybe someday..

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-08 13:47:43 +00:00
c53f4efbc5 CI: Also include cargo files in cache
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-12-08 13:47:43 +00:00
6d1d441372 Check with nightly image; remove zsh-ism
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-23 02:31:14 +02:00
a104ebc3f6
Rustfmt pass, and rustfmt --check in CI"
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-23 01:36:02 +02:00
a55d420979
Temporarily remove features
It's not possible to use them at the top of the workspace.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-23 00:29:28 +02:00
2dd116c0e8
Update repo and homepage in Cargo.toml files
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-20 01:04:22 +02:00
2fec9083a4
Prepare for merge: Move all xmpp-rs files into xmpp-rs/
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18 13:46:58 +02:00
e9ce2838a6 CI: expose full backtrace for tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:03:03 +02:00
27b3f43261
CI: Add caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:41:19 +02:00
82be62678a
CI: refactor .gitlab-ci.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:25:23 +02:00
eba25e4acc
CI: Use recent rust image, split build/test stages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:00:52 +02:00
Maxime Buquet
8c4bb1b810 Revert "Merge branch 'update-deps' into 'master'"
This reverts merge request !32
2017-12-31 13:56:17 +00:00
Maxime “pep” Buquet
2146244e1c Update docker image 2017-12-28 18:08:49 +01:00
lumi
917b14b5d2 implement the new event system, things are still really messy 2017-05-10 00:17:34 +02:00
lumi
6f64f9cd48 cast the magic spell so that gitlab-ci will finally work 2017-02-19 21:03:21 +00:00
lumi
ea10296541 try to make gitlab-ci work 2017-02-19 20:55:22 +00:00
lumi
79a32f10dc add .gitlab-ci.yml 2017-02-19 20:50:56 +00:00