link2xt
2f02be4c64
ci: test the core on macOS
2023-03-23 20:46:58 +00:00
link2xt
7add1c116c
Attempt to fix deltachat-rpc-server binary release uploads
2023-03-23 17:19:28 +00:00
link2xt
7ec3a1a9a2
ci: fixup for artifact uploading in deltachat-rpc-server.yml
2023-03-21 23:17:15 +00:00
link2xt
19fa86b276
ci: remove android dependency from deltachat-rpc-server workflow
2023-03-21 22:21:05 +00:00
link2xt
c4657991c8
ci: build all deltachat-rpc-server binaries without NDK
2023-03-21 22:17:14 +00:00
link2xt
02455d8485
ci: upload deltachat-rpc-server binaries on release
2023-03-20 18:59:14 +00:00
link2xt
dd57854ee3
Increase Minimum Supported Rust Version to 1.64
...
It is required for clap_lex v0.3.2
and async_zip 0.0.11.
2023-03-18 19:30:11 +00:00
link2xt
73e7ee5c13
Build armv7 deltachat-rpc-server binaries without NDK
2023-03-13 23:09:25 +00:00
link2xt
a853b8283a
Upgrade to Rust 1.68.0
2023-03-10 01:30:57 +00:00
Sebastian Klähn
ef1970b742
Also document private items for rust docs ( #4137 )
...
also document private items for rust docs
2023-03-08 14:13:07 +01:00
link2xt
7e5a8714a0
Add scripts/codespell.sh and spellcheck
2023-03-03 18:40:36 +00:00
Floris Bruynooghe
c38ae31f31
Configure cargo-deny fully
...
This adds more configuration to cargo-deny so that the output is not a
giant list of warnings hiding new entries. Instead the config now
lists the things that would emit warnings. It also adds -Dwarnings to
the CI job so that new warnings will be cleaned up: they can be added
to the config easily to fix the warnings.
2023-03-03 12:37:54 +01:00
link2xt
8e9bb8b06e
Check provider database with CI
...
scripts/update-provider-database.sh checks out the provider database
and updates data.rs file,
making it easier to update.
CI uses this script to check that checked in data.rs
corresponds to the provider database repository.
2023-02-26 21:27:21 +00:00
link2xt
7e132b5383
Add cargo-deny config and CI
2023-02-26 20:52:53 +00:00
adbenitez
a2e088b415
Compile deltachat-rpc-server for Android
...
Co-Authored-By: link2xt <link2xt@testrun.org >
2023-02-24 15:17:40 +00:00
link2xt
7af1a19491
Do not build more than one deltachat-rpc-server at a time
2023-02-24 15:16:38 +00:00
link2xt
bc9e347a80
ci: there are no staging and trying branches
2023-02-24 01:14:00 +00:00
link2xt
b5187661ee
ci: cancel running node.js tests when the branch is updated
...
Do not waste CI time running the tests for previous commit.
2023-02-24 01:13:40 +00:00
link2xt
059c673d00
ci: add workflow to the group
...
Otherwise it cancels other workflows.
2023-02-23 18:50:44 +00:00
link2xt
76514178b6
ci: do not run CI multiple times on the same branch
...
Especially for PRs, if the branch is updated
multiple times, only the last commit should be tested.
2023-02-23 18:45:55 +00:00
link2xt
b0f77f7a33
ci: add arch prefix to deltachat-rpc-server binary names
2023-02-22 20:13:27 +00:00
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