link2xt
cff4a9dce3
ci: cross-compile deltachat-rpc-server for aarch64 Linux
2023-02-22 19:50:42 +00:00
link2xt
5dc20a5b98
ci: link deltachat-rpc-server statically on Linux
2023-02-22 18:56:37 +00:00
link2xt
c7b7fbaf78
ci: use minimal profile for rustup
...
Avoid installing unnecessary documentation.
2023-02-22 13:53:02 +00:00
link2xt
7f5217fc87
ci: do not try to cross-compile deltachat-rpc-server on i686
...
It does not work because vendored OpenSSL compilation fails
2023-02-22 01:07:31 +00:00
link2xt
df96fbdcef
ci: error if deltachat-rpc-server artifact cannot be uploaded
2023-02-22 00:37:17 +00:00
link2xt
edec80a917
ci: attempt to fix binary path for artifact upload
2023-02-22 00:35:35 +00:00
link2xt
439c57e3ac
ci: fix typo in deltachat-rpc-server.yml
2023-02-22 00:32:30 +00:00
link2xt
7bfff6c87c
ci: disable fail-fast on deltachat-rpc-server.yml builds
2023-02-22 00:11:45 +00:00
link2xt
178e67a262
Add "vendored" feature to deltachat-rpc-server
2023-02-22 00:00:32 +00:00
link2xt
877b3551ae
ci: add --target option when build deltachat-rpc-server
2023-02-21 23:54:20 +00:00
link2xt
a616c69f9a
ci: add missing include to deltachat-rpc-server.yml
2023-02-21 23:40:45 +00:00
link2xt
df1c1addfb
ci: add action to build deltachat-rpc-server
2023-02-21 23:35:53 +00:00
link2xt
e86fbf5855
ci: stop using deprecated Ubuntu 18.04
...
GitHub Actions fails running 18.04 jobs currently:
<https://github.com/actions/runner-images/issues/6002 >
2023-02-21 13:10:12 +00:00
link2xt
0dd87b0bae
ci: format .yml with prettier
2023-02-20 11:48:57 +00:00
link2xt
e2151e26ee
ci: pin rustfmt version
2023-02-19 23:40:04 +00:00
Simon Laux
609fc67f0d
fix websocket server & add ci test for building it ( #4047 )
...
the axum update broke the websocket server, because yerpc still uses a the old 5.9 version.
So I needed to downgrade the dependency until https://github.com/deltachat/yerpc/pull/35 is merged.
I want to retry the kaiOS client experiment, for this I need a working websocket server binary.
2023-02-19 14:57:00 +01:00
link2xt
82da09760c
ci: use --workspace instead of deprecated --all flag
2023-02-12 16:38:09 +00:00
link2xt
ef44aa0bd0
ci: there are no staging and trying branches
2023-02-12 16:14:10 +00:00
link2xt
c367bb63d1
ci: name run_clippy job
2023-02-12 12:19:15 +00:00
link2xt
819d658531
ci: don't use unmaintained actions-rs/toolchain
...
Also fix clippy version to prevent new clippy releases from breaking CI.
clippy version has to be updated manually now.
2023-02-12 11:45:27 +00:00
link2xt
1a49bc85b8
Add scripts/clippy.sh
...
The script makes it easier to manually check REPL and benchmark code
with clippy without the need to copy-paste all the flags.
2023-02-11 16:07:52 +00:00
link2xt
51ee564246
ci: consistently capitalize job names
2023-02-11 16:06:32 +00:00
link2xt
7f313c803e
ci: remove unnecessary Rust installation step
...
windows-latest image already contains Rust 1.67.0.
2023-02-11 15:25:20 +00:00
link2xt
14f3abb51e
ci: Windows repl.exe action fixup
2023-02-11 14:11:30 +00:00
link2xt
46143ac54f
Move deltachat-repl into a separate crate
2023-02-11 13:54:49 +00:00
link2xt
9b3e21225c
ci: run clippy without actions-rs/clippy-check
...
actions-rs/clippy-check runs clippy with --message-format=json option
and converts the output into annotations.
This makes clippy output unreadable, it is JSON
and you cannot quickly find the line number to fix.
Annotations in the code review view look nice,
but on large PRs they are less usable because you need
to scroll the whole page to find all the annotations.
2023-01-26 18:13:13 +00:00
link2xt
7640e3255f
ci: remove unnecessary rustfmt check steps
...
`cargo fmt` is already pre-installed in ubuntu-latest
2023-01-26 12:38:38 +00:00
link2xt
fac7b064b4
Refine Python CI
...
Add lint environment to `deltachat-rpc-client/`
and set line length to 120, same as in `python/`.
Switch from flake8 to ruff.
Fix ruff warnings.
2023-01-20 16:53:21 +00:00
link2xt
a5354ded3f
ci: disable fail-fast
...
This setting is true by default and causes
Windows build to cancel when Linux fails
due to flaky test and vice versa.
Cancelled test then has to be restarted
from scratch even though it was not going
to fail.
2023-01-12 17:51:58 +00:00
link2xt
ea81d08c01
ci: use default Rust toolchain for JSON-RPC tests
...
Default preinstalled toolchain is currently at 1.65.0,
there is no need to overwrite it with 1.66.0 for these tests.
2023-01-05 23:15:09 +00:00
link2xt
37a212ddc4
ci: remove failing actions-rs/toolchain calls
...
It fails because there is no `rust-toolchain` file anymore.
ubuntu-latest already has cargo installed, there is no need
to reintall it.
2023-01-04 13:35:11 +00:00
link2xt
5b12784589
ci: update rust toolchain for repl.exe builds
2023-01-03 15:45:08 +00:00
link2xt
c9ab9d59c2
Adapt the comment, there is no more rust-toolchain
2023-01-03 13:54:23 +00:00
link2xt
45462fb47e
Fix uncaught exception in node JSON-RPC tests
...
Events don't have an `id`, so promises[response.id] does
not exist for them.
This currently prints a DEP0168 [1] deprecation warning,
but will likely return an error in the future.
[1] https://nodejs.org/api/all.html#all_deprecations_dep0168-unhandled-exception-in-node-api-callbacks
2022-12-31 11:50:21 +00:00
link2xt
7d62df6f1a
Bump MSRV to 1.63.0
...
Bumping MSRV from 1.61.0 to 1.63.0, because `arbitrary` crate requires
it and fuzzing crates depend on it, at least by default. We still use
1.64.0 as our default rust toolchain.
2022-12-26 13:10:10 +00:00
link2xt
76cf170708
ci: update swatinem/rust-cache action
2022-12-23 12:02:03 +00:00
Hocuri
d722b6ba19
Only go to 1.64 for now
2022-12-19 17:15:17 +01:00
Hocuri
04f68fddd9
Go back to Rust 1.61
...
as 1.65 makes the iOS build fail.
For Android, it would actually be enough to go back to 1.64, but let's
try what's needed for iOS.
2022-12-19 12:41:19 +01:00
link2xt
f5cb56fd86
Fix deltachat-rpc-server tests for tox 4
2022-12-09 17:23:20 +00:00
link2xt
9093702692
ci: upgrade to tox 4.0
2022-12-09 17:23:20 +00:00
link2xt
1224222984
ci: remove dependency on actions-rs/cargo
...
It is unmaintained and throws many warnings about using deprecated
Node and GitHub Actions commands.
2022-12-08 18:04:41 +01:00
link2xt
3360c6aa96
Downgrade tox to version 3
...
Our CI pipeline currently does not work with tox 4.0.
2022-12-08 15:38:28 +00:00
link2xt
f14a28db54
Remove autogenerated typescript files
2022-12-06 19:25:04 +00:00
link2xt
b4f348ccea
Merge async JSON-RPC client
...
PR: https://github.com/deltachat/deltachat-core-rust/pull/3734
2022-12-04 21:02:50 +03:00
link2xt
4df588668a
Bump MSRV to 1.61.0
...
This is required by `image` crate.
Also update current Rust version to 1.65.0.
2022-12-04 12:24:17 +00:00
link2xt
7f4c05e88f
ci: do not use deprecated set-output
...
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-12-03 13:54:11 +00:00
link2xt
20e63659a1
CI: update GitHub Actions to avoid deprecation warnings
2022-12-03 13:51:57 +00:00
link2xt
9b04a04568
Add async python client for Delta Chat core JSON-RPC
2022-11-30 20:21:59 +00:00
link2xt
a271baa1ae
Update rpgp to 0.9 and bump MSRV to 1.57.0
2022-11-07 18:23:26 +00:00
Floris Bruynooghe
38efde6c98
Seems the npm stuff manages to avoid the cargo config file
2022-11-04 12:32:22 +00:00