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
c6c5e7fca6
Add CODEOWNERS file for automatic review requests
2023-05-04 16:41:04 +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
Jonas Platte
4ee4198e83
ci: Remove build caching for infrequently used release workflows
2023-04-28 11:17:19 +02:00
Ivan Enderlin
cbfa134087
feat(sdk): Remove hacks for Sliding Sync ranges
...
feat(sdk): Remove hacks for Sliding Sync ranges
2023-04-27 14:35:05 +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
Andrew Ferrazzutti
8e0559963e
Restore "Install musl-gcc for linux-musl nodejs releases"
...
This reverts commit cfc6ec2c0d .
2023-04-26 20:25:57 +09:00
Andrew Ferrazzutti
4bbea71d51
Add comment to explain why to use Ubuntu LTS-1
2023-04-26 18:45:18 +09:00
Andrew Ferrazzutti
80de0f0bbe
Build Node bindings against Ubuntu 20.04
...
Fixes #1808
2023-04-26 18:45:16 +09:00
Andrew Ferrazzutti
46f69f7efd
Update supported Node.js versions
...
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io >
2023-04-25 23:51:53 +09:00
Ivan Enderlin
cfc6ec2c0d
Revert "Install musl-gcc for linux-musl nodejs releases"
2023-04-24 19:59:01 +02:00
Ivan Enderlin
8aad30ea4f
Merge pull request #1779 from matrix-org/af/nodejs-musl-gcc
...
Install musl-gcc for linux-musl nodejs releases
2023-04-24 10:51:00 +02:00
Jonas Platte
167d81e36a
ci: Simplify test-all-crates job
2023-04-20 14:52:34 +02:00
Andrew Ferrazzutti
4fbdd70a53
Use local reference to workflow file
2023-04-14 20:20:59 +09:00
Andrew Ferrazzutti
a78b260857
Install musl-gcc for linux-musl nodejs releases
2023-04-14 17:43:42 +09:00
Richard van der Hoff
f60c678af8
Apply suggestions from code review
...
Co-authored-by: Damir Jelić <poljar@termina.org.uk >
2023-03-30 15:38:42 +01:00
Richard van der Hoff
4f3f9c7af8
Fixes and documentation for crypto-js releases
...
The tags are supposed *not* to contain `v`, for consistency with the other
crates.
2023-03-30 13:57:15 +01:00
Ivan Enderlin
2d56f550aa
fix(sdk): Fix, test, and clean up SlidingSyncListRequestGenerator
...
fix(sdk): Fix, test, and clean up `SlidingSyncListRequestGenerator`
2023-03-16 17:04:05 +01:00
Ivan Enderlin
5e23bd09bc
feat(ci): aarch64-apple-ios should work on rustc stable.
2023-03-16 09:01:14 +01: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
Jonas Platte
99cbf3122b
ci: Work around frequent codecov upload errors
2023-03-07 11:08:09 +01:00
Jonas Platte
50114f4e74
Mention changelogs in PR template
2023-03-06 10:41:18 +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
Richard van der Hoff
5abab932db
ci: Fail coverage job if the coverage report can't be uploaded ( #1515 )
2023-02-16 09:36:43 +00:00
Richard van der Hoff
d9e455ab82
crypto-nodejs, crypto-js: prettify the javascript codebase ( #1509 )
2023-02-15 17:47:32 +00:00
kegsay
fb467b75e0
ci: Update sliding sync integration tests job
2023-02-15 17:03:29 +00:00
Richard van der Hoff
e16c113db0
crypto-js, crypto-nodejs: Run prettier in CI
2023-02-15 12:39:54 +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
3f16b324d7
ci: Use taiki-e/install-action to install cargo-tarpaulin
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
Jonas Platte
ce973b35e9
chore: Upgrade uniffi to 0.23.0
2023-02-02 10:15:05 +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
6ec8ff6363
ci(coverage): ignore new sliding-sync-integration-tests for now
2023-01-12 13:51:59 +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
34d458d3a3
chore: Upgrade UniFFI
2022-12-14 12:03:13 +01:00
Richard van der Hoff
2a4b83b5e6
Switch to npm-publish GHA script
...
Mostly because, as of #1167 , we no longer have a `publish` script.
2022-12-12 16:17:32 +00:00
Jonas Platte
a18919bf50
chore: Add a PR template
2022-12-05 14:58:33 +01:00
Jonas Platte
c0910a3693
chore: Fix a typo, upgrade typo check action
2022-11-24 22:36:46 +01:00
Jonas Platte
5a1e347333
ci: Install stable toolchain for test-uniffi-codegen
...
The xtask is explicitly using the stable, and there is no reason to use
a less stable toolchain for this job.
2022-11-15 14:57:46 +01:00