Commit graph xmpp-rs/.gitlab-ci.yml
Author SHA1 Message Date
Maxime “pep” Buquet
2555bedaa8
CI: add .show-version block in docs job
skip-changelog

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2025-04-08 12:43:30 +02:00
Jonas Schäfer
057306fba1 ci: use shallow fetch
No need to fetch the entire history. The merge base is likely within the
last couple commits because we require it to be so anyway, because the
repo requires fast-forward merges currently.

skip-changelog, because this doesn't touch library code.
2025-01-26 17:36:51 +01:00
Jonas Schäfer
6bed0f27ec ci: ensure that main branch is fetched for changelog check job
skip-changelog, as this doesn't touch library code.
2025-01-26 17:32:34 +01:00
Jonas Schäfer
33c8f07a6e Disable bot comment for now
It is broken because of an expired token and the fix doesn't seem to be
trivial, so we disable it for now so that the pipelines become green
again.

skip-changelog, this is not a code change.
2025-01-26 12:59:42 +01:00
Maxime “pep” Buquet
bbbf522ca0
CI: Force changelog updates
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-24 11:12:55 +01:00
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
Maxime “pep” Buquet
b3e6e089da
CI: display rustfmt version
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
2e0a90f447 CI: Deny future warnings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-01-27 17:44:48 +00:00
0949acb750 Update the MR docs base URL 2024-01-26 15:22:12 +01:00
b42b498a8b Parallel docs build ; don't doc deps ; push to docs.xmpp.rs 2024-01-25 17:24:20 +01:00
818a87802f Post comment to MR target not MR source project 2024-01-24 23:18:05 +01:00
5bf2ef12eb Generate docs on commits / MRs, upload to Gitlab Pages and post link in comment 2024-01-23 21:21:54 +01:00
7fc46968be Deny warnings in gitlab CI 2024-01-21 13:55:39 +01:00
Maxime “pep” Buquet
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
099b7356a6 Include libicu-dev in CI images 2023-06-06 01:07:19 +02:00
Maxime “pep” Buquet
a74eeb2910 CI: Lighter docker images
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-06-05 18:01:51 +00:00
Maxime “pep” Buquet
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
Maxime “pep” Buquet
36e66a7ac4
CI: lint
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-09-16 20:00:55 +02:00
Maxime “pep” Buquet
63733885d2
CI: Show rustc and cargo version
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2021-12-27 01:22:53 +01:00
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
476813a10a
CI: Allow nightly to fail
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-26 18:04:21 +01:00
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
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
Maxime “pep” Buquet
e9ce2838a6 CI: expose full backtrace for tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:03:03 +02:00
Maxime “pep” Buquet
27b3f43261
CI: Add caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:41:19 +02:00
Maxime “pep” Buquet
82be62678a
CI: refactor .gitlab-ci.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:25:23 +02:00
Maxime “pep” Buquet
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