link2xt
38c1caf180
ci: give CI job permission to publish binaries to the release
...
Otherwise it fails on `gh release upload` step.
2024-05-15 20:38:59 +00:00
link2xt
2ab713d968
ci: add npm token to publish deltachat-rpc-server packages
2024-05-15 18:08:58 +00:00
Simon Laux
c349bf8e0c
ci(deltachat-rpc-server): fix upload of npm packages to github releases ( #5564 )
2024-05-14 18:48:34 +00:00
link2xt
2779737c56
ci: set RUSTUP_WINDOWS_PATH_ADD_BIN
...
This is a workaround for
<https://github.com/nextest-rs/nextest/issues/1493 >
2024-05-13 14:29:33 +00:00
Simon Laux
c375c03d8e
stdio jsonrpc server npm package ( #5332 )
...
- [x] figgure out how to build the packages (that it installs native
optional package automatically)
- [X] Make the gluecode
- [x] expose both the lowerlevel api that desktop uses (~~send objects
and receive objects~~, getting path of rpc-server is enough)
- [X] and the higher level api needed for bots (jsonrpc client)
- [X] typescript types
- [x] automatically pick the right binary from npm or allow getting it
from env var, or give out an error (throw error)
- [x] find out how to dev locally (use local built core in dc desktop) -
there is the question of how to link the typescript client and the task
to add a search in the cargo target folder for a debug build or a
different way, find out some good flow that we can use and document for
dc desktop + locally built core development
- [x] build the packages in ci
- [x] fix that deltachat-rpc-server is not executable
postponed:
- [ ] publish from ci
- [ ] add key/token to deploy to npm
Closes #4694
## Related prs
- https://github.com/deltachat-bot/echo/pull/69
- https://github.com/deltachat/deltachat-desktop/pull/3567
---------
Co-authored-by: link2xt <link2xt@testrun.org >
2024-05-11 20:54:11 +02:00
link2xt
add8c0680f
ci: update Rust to 1.78.0
2024-05-03 02:11:07 +00:00
Christian Hagenest
402d5bed85
rm npm install
2024-04-30 21:10:36 +02:00
missytake
57bc046381
ci: use rsync instead of 3rd party github action
2024-04-30 21:10:36 +02:00
Christian Hagenest
0617236eb0
rm leading slash
2024-04-30 21:10:36 +02:00
Christian Hagenest
8c5ffe0237
upload-docs npm run => npm run build
2024-04-30 21:10:36 +02:00
Christian Hagenest
39f977c1e6
add : to upload-docs.yml
2024-04-30 21:10:36 +02:00
Christian Hagenest
ec03614cae
add npm install to upload-docs.yml
2024-04-30 21:10:36 +02:00
Christian Hagenest
ea0b063c19
test ts build on branch
2024-04-30 21:10:36 +02:00
Christian Hagenest
98d7a93909
correct folder for js.jsonrpc docs
2024-04-30 21:10:36 +02:00
Christian Hagenest
49bf8414ed
rm unneeded rust install from ts docs ci
2024-04-30 21:10:36 +02:00
Christian Hagenest
1e7dbea351
Implement jsonrpc-docs build in github action
2024-04-30 21:10:36 +02:00
Christian Hagenest
0412244646
Revert "WIP: build ts docs with ci + nix"
...
This reverts commit 00d486e58f .
2024-04-30 21:10:36 +02:00
Christian Hagenest
bbd854d7bc
Revert "push docs to delta.chat instead of codespeak"
...
This reverts commit c04188ce56 .
2024-04-30 21:10:36 +02:00
Christian Hagenest
ab494ae786
push docs to delta.chat instead of codespeak
2024-04-30 21:10:36 +02:00
Christian Hagenest
8a58ae8a3a
WIP: build ts docs with ci + nix
2024-04-30 21:10:36 +02:00
Hocuri
94ac2b1097
ci: Run doc tests with cargo test --workspace --doc ( #5459 )
...
Nextest doesn't run doc tests, so we need to run them with `cargo test
--workspace --doc`.
See https://github.com/nextest-rs/nextest/issues/16
Follow-up for #5457
2024-04-14 18:54:20 +02:00
link2xt
d39cbcdc8d
ci: use cargo-nextest instead of cargo-test
2024-04-10 23:57:43 +00:00
Sebastian Klähn
bab311730c
ci: typos in ci files ( #5453 )
2024-04-10 15:20:48 +02:00
link2xt
2f0f247e70
refactor: use Rust 1.77.0 support for recursion in async functions
2024-04-04 17:01:15 +00:00
link2xt
87e9365016
ci: remove android builds for x86 and x86_64
...
They are failing to build.
2024-04-03 01:17:21 +00:00
link2xt
ebd097bdbe
ci: shorter names for deltachat-rpc-server jobs
2024-03-28 06:57:44 +00:00
link2xt
a11d01f8a3
ci: build deltachat-rpc-server for Android
2024-03-28 06:57:44 +00:00
link2xt
71c2383cbe
ci: update to Rust 1.77.0
2024-03-22 19:44:15 +00:00
link2xt
9313ece3cd
ci: automate publishing of deltachat-rpc-server to PyPI
2024-03-19 03:25:39 +00:00
link2xt
67e5fbbfe3
ci: update actions/cache from v3 to v4
2024-03-19 02:17:04 +00:00
link2xt
6198ed0ef5
ci: add workflow for automatic publishing of deltachat-rpc-client
2024-03-11 11:45:02 +00:00
link2xt
9f4af679a3
build: build deltachat-rpc-server wheels with nix
2024-03-10 20:22:47 +00:00
Simon Laux
36bb4a7a32
ci: remove artefacts from npm package
2024-03-08 08:08:39 +00:00
link2xt
273719ae7c
ci: wait for build_windows task before trying to publish it
2024-03-07 23:45:06 +00:00
link2xt
97abb9a0a9
ci: update setup-node action
2024-03-05 03:19:46 +00:00
link2xt
d9bab938d5
build: restore MSRV 1.70.0
2024-03-05 01:04:49 +00:00
link2xt
f6de23738d
build: increase MSRV to 1.74.0
...
This is what updated dependencies require.
Also update Rust used to build manylinux wheels
from 1.72.0 to 1.76.0.
2024-03-04 21:07:10 +00:00
link2xt
cd9f6c3d5b
ci: build c.delta.chat docs with nix
2024-03-01 20:28:20 +00:00
link2xt
b08a4d6fcf
ci: upload cffi docs without GH actions
2024-03-01 02:30:55 +00:00
link2xt
b3a82b416f
ci: upload python docs without GH actions
2024-03-01 02:21:35 +00:00
link2xt
4e5d7fb821
ci: build Python docs with Nix
2024-03-01 02:00:53 +00:00
link2xt
44686d6caa
ci: update to Rust 1.76 and fix clippy warnings
2024-02-25 10:43:01 +00:00
link2xt
ccd5158109
ci: upgrade setup-python GitHub Action
2024-02-22 06:18:34 +00:00
link2xt
b29bc19ef4
ci: try to upload deltachat-rpc-server only on release
2024-02-20 15:59:53 +00:00
link2xt
e765066f05
ci: build deltachat-rpc-server with nix
2024-02-20 15:59:53 +00:00
link2xt
67aa785a9e
ci: build deltachat-repl for Windows with nix
2024-02-20 15:59:53 +00:00
link2xt
f45f9263db
ci: fixup node-package.yml after artifact actions upgrade
2024-02-17 13:49:40 +00:00
link2xt
8289dc92ed
ci: update to actions/checkout@v4
...
Also disable --progress.
It is not disabled by default for backward compatibility,
but solves the problem of lots of progress lines
in the downloadable raw output:
https://github.com/actions/checkout/pull/1067
2024-02-17 13:49:01 +00:00
link2xt
3b0e740c17
ci: replace download-artifact v1 with v4
2024-02-15 11:31:58 +00:00
link2xt
2dd87b6b5e
ci: use actions/download-artifact@v4
...
download-artifact@v3 does not download artifacts uploaded with upload-artifact@v4
2024-02-15 04:32:14 +00:00