Ivan Enderlin
d1bccacef9
chore: Make CI happy.
2023-06-05 19:40:51 +02:00
Kévin Commaille
ea826a257d
sdk: Replace Sled with SQLite as defaut store
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-05-08 12:11:10 +02:00
Jonas Platte
32fafe7be3
Pin rust nightly version
...
Works around https://github.com/rust-lang/rust/issues/111320 .
2023-05-08 10:44:14 +02:00
Jonas Platte
cca8ac7aea
ci: Only save caches from main branch
...
Caches saved from a PR can't be loaded from other unrelated PRs, wasting
space and possibly getting older previously-saved caches evicted first.
2023-04-28 11:17:19 +02:00
Ivan Enderlin
3a8b6696f7
test: Install SS proxy v0.99.2.
2023-04-27 14:07:39 +02:00
Ivan Enderlin
a719f35a3e
test: Use the latest Sliding Sync proxy version.
2023-04-27 10:21:04 +02:00
Jonas Platte
167d81e36a
ci: Simplify test-all-crates job
2023-04-20 14:52:34 +02:00
Kévin Commaille
1e1e0d7e6d
ci: Make sure all rendered docs examples are compiling
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-03-15 14:42:12 +01:00
Richard van der Hoff
a2da63758c
Use a separate GHA cache for each matrix build ( #1605 )
...
You can't update a GHA cache once you create it, so if we use the same cache
for each job in a matrix build, then we end up populating it for the first job
that completes, so any slower jobs don't get their dependencies cached.
On the other hand, if we create 20 500MB cache items on each build, we're going
to exhaust the cache storage as soon as we do a build. So, instead, let's just
do the caching for the main branch, and hope that other branches can still
benefit from it.
2023-03-02 14:10:53 +00:00
Richard van der Hoff
a86754a317
Minor tweaks to the github actions configurations ( #1606 )
...
* Replace custom cancellation action with `concurrency`
* Improve step names
... so don't have three steps with the same name
* Bump version of checkout action
checkout@v2 uses an old version of nodejs, which is deprecated.
2023-03-02 14:04:59 +00:00
Richard van der Hoff
2fe08a90c5
Reinstate protoc for a couple of GHA jobs ( #1607 )
...
Looks like #1604 broke the build :(
2023-03-02 12:47:58 +00:00
Richard van der Hoff
bdb9d274ce
Skip installing protoc where it is unneeded ( #1604 )
...
This seems to have been cargo-culted to lots of places where it is redundant.
2023-03-01 22:17:36 +00:00
Richard van der Hoff
15513b0ada
Clean up the way we build xtask in CI ( #1600 )
...
Currently, the cache of the xtask binary isn't working terribly well:
* we seem to build it on each run anyway, presumably because we don't cache any of the intermediate build
artifacts. Running the binary directly rather than indirecting via "cargo" prevents this.
* There is no sharing of the cache between the "rust" and "bindings" CI, because we use different cache keys.
This PR addresses both problems, and hopefully speeds up CI a bit as a result.
2023-03-01 15:50:31 +00:00
kegsay
fb467b75e0
ci: Update sliding sync integration tests job
2023-02-15 17:03:29 +00:00
Jonas Platte
57c3224b6b
ci: Work around not being able to use matrix variables inside uses
2023-02-10 13:58:41 +01:00
Jonas Platte
4a5a0293a9
ci: Replace unmaintained actions-rs/cargo action
...
… we really didn't need it and can use run instead.
2023-02-10 13:58:41 +01:00
Jonas Platte
a5bfab1d55
ci: Replace unmaintained actions-rs/toolchain action
...
… with dtolnay/rust-toolchain.
2023-02-10 13:58:41 +01:00
Jonas Platte
cf359dede5
chore: Upgrade rust-cache GitHub action
2023-02-10 12:16:06 +01:00
Damir Jelić
ab0e27622e
feat(bindings): Add support to setup a OpenTracing based logger
2023-02-01 22:55:47 +01:00
Benjamin Kampmann
3c6c5f4fae
ci: disable broken sliding-sync-integration-test-runs
2023-01-12 13:24:16 +01:00
Benjamin Kampmann
08bec243ff
ci(sliding-sync): add sliding sync integration test
2023-01-12 13:24:16 +01:00
Jonas Platte
c215ac1f4b
ci: Specify which version of wasm-pack we want
2022-12-22 16:06:48 +01:00
Jonas Platte
187696aa62
ci: Use latest version of wasm-pack-action
2022-12-22 16:06:48 +01:00
Jonas Platte
c0910a3693
chore: Fix a typo, upgrade typo check action
2022-11-24 22:36:46 +01:00
Jonas Platte
089f92d238
ci: Cancel all CI jobs for old commits when pushing to a PR branch
...
(not just jobs from the ci workflow file)
2022-10-18 14:23:21 +02:00
Jonas Platte
8b728d4ada
ci: Pin typos version
...
Currently, master is broken: https://github.com/crate-ci/typos/issues/590
2022-10-06 17:27:55 +02:00
Benjamin Kampmann
b5bd6dfee9
fix: Apply redactions to room state events in database, too ( #917 )
...
fixes #890
2022-09-27 09:24:53 +02:00
Jonas Platte
5f6775f47c
ci: Only cancel running CI for previous commits on PRs
2022-09-05 15:01:38 +02:00
Jonas Platte
c2a222278d
ci: Consistently indent job steps
2022-09-05 15:01:38 +02:00
Jonas Platte
567b230cb7
ci: Cache xtask binary
2022-09-05 15:01:38 +02:00
Jonas Platte
8535c16bc8
ci: Don't require fmt to run before typo check and clippy
2022-09-05 15:01:38 +02:00
Jonas Platte
d009d0475e
ci: Move appservice and style back into ci workflow
...
Required for job dependencies.
2022-09-05 15:01:38 +02:00
Jonas Platte
054dfa98a0
ci: Upgrade checkout action
2022-08-04 23:43:49 +02:00
Benjamin Kampmann
67e63c0d35
ci: update xtask, add ci to build examples
2022-08-02 15:13:27 +02:00
Benjamin Kampmann
7dfadd1848
ci(integration-testing): split integration test off from regular tests
2022-08-01 15:20:13 +02:00
Benjamin Kampmann
3842426788
ci: Remove unneeded github action params
2022-08-01 13:27:00 +02:00
Benjamin Kampmann
c27016b2e7
testing: fix review grumbles
2022-08-01 13:01:50 +02:00
Benjamin Kampmann
d68d6ead69
chore: let's check the logs
2022-07-21 17:31:58 +02:00
Benjamin Kampmann
b24f7b7ad7
ci(integration-tests): switch to non-docker github action
2022-07-19 12:05:49 +02:00
Benjamin Kampmann
3f71818704
ci(test): switch from docker to compose
2022-07-18 18:10:41 +02:00
Benjamin Kampmann
025db83af3
ci(test): cancel previous calls and fix the docker logs cmd
2022-07-18 18:06:54 +02:00
Benjamin Kampmann
06cab75df3
ci(sdk): Add integration tests to CI
2022-07-18 17:39:51 +02:00
Kévin Commaille
de60a24602
Remove __test feature
2022-07-07 11:26:49 +02:00
Kévin Commaille
dd6a902240
test(sdk): Move integration tests
2022-07-04 16:22:20 +02:00
Kévin Commaille
4eb1337dc8
ci: Remove whitespaces in config file
2022-07-04 16:22:19 +02:00
Ivan Enderlin
68b6c19dd4
test: Ensure all crates members of the workspace are compiled & tested.
2022-06-23 14:10:31 +02:00
Ivan Enderlin
1604f24136
chore(test): Fix YAML.
2022-06-22 16:03:37 +02:00
Ivan Enderlin
2ffcc1a415
chore: Use [m] as an alias for matrix-sdk.
2022-06-22 16:03:37 +02:00
Ivan Enderlin
54acd314cc
chore(test): Move the wasm workflow inside the ci workflow.
2022-06-22 16:03:37 +02:00
Ivan Enderlin
0436eb9349
chore(ci): Rephrase a little bit the Github Actions steps.
2022-06-22 16:03:37 +02:00