link2xt
b5de5d0dc0
build: build Android wheels for PyPI
2025-03-12 01:51:48 +00:00
link2xt
449ba4e192
ci: remove deprecated DeterminateSystems/magic-nix-cache-action
2025-02-20 12:43:48 +00:00
link2xt
96704eb73d
ci: audit workflows with zizmor
2025-02-15 01:36:46 +00:00
link2xt
8cb527342a
ci: set --access public when publishing to npm
...
Otherwise it fails to upload new packages with provenance.
2024-05-18 20:39:41 +00:00
link2xt
4a738ebd19
chore(release): prepare for 1.138.4
2024-05-15 21:59:28 +00:00
link2xt
d02eccd303
ci: run actions/setup-node before npm publish
...
Otherwise it does not try to use NODE_AUTH_TOKEN.
2024-05-15 21:57:24 +00:00
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
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
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
9313ece3cd
ci: automate publishing of deltachat-rpc-server to PyPI
2024-03-19 03:25:39 +00:00
link2xt
9f4af679a3
build: build deltachat-rpc-server wheels with nix
2024-03-10 20:22:47 +00:00
link2xt
273719ae7c
ci: wait for build_windows task before trying to publish it
2024-03-07 23:45:06 +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
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
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
link2xt
cdcacf2f83
ci: update actions/upload-artifact
...
There are no breaking changes listed in the README that affect our usage.
2024-02-15 02:41:49 +00:00
link2xt
b73bcc2c22
ci: build macOS wheels for deltachat-rpc-server
2023-10-23 20:20:14 +00:00
link2xt
cff42936aa
ci: add missing .exe suffix to windows deltachat-rpc-server paths
2023-10-23 20:19:35 +00:00
link2xt
5cd92f10ef
ci: build deltachat-rpc-server binaries for aarch64 macOS
2023-10-23 16:02:36 +00:00
link2xt
349c154a99
ci: attempt to fix artifacts download for deltachat-rpc-server
...
Had to do this step manually for 1.126.0,
hopefully the step will work automatically for 1.127.0.
2023-10-22 15:24:02 +00:00
link2xt
e878caebe3
ci: build Python wheels for deltachat-rpc-server
2023-10-22 13:13:04 +00:00
link2xt
8ea8ee02ed
ci: add top comments to GH Actions workflows
2023-06-02 20:19:57 +00:00
link2xt
e50d7724e3
feat: build deltachat-rpc-server releases for x86_64 macOS
2023-05-08 19:04:38 +00:00
link2xt
3400f5641e
Build zig-rpc-server for i686
...
cargo-zigbuild is replaced with a simple zig-cc wrapper.
cargo-zigbuild still tries to use i386-linux-musl triple,
while in zig 0.11 x86-linux-musl should be used [1].
This also gives us more control over compilation flags used
and prevents changes due to cargo-zigbuild upgrades,
as its version was not pinned.
[1] Merged PR "all: rename i386 to x86 "
<https://github.com/ziglang/zig/pull/13101 >
2023-03-29 10:56:22 +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
73e7ee5c13
Build armv7 deltachat-rpc-server binaries without NDK
2023-03-13 23:09:25 +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
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
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