mirror of
https://github.com/chatmail/core.git
synced 2026-05-14 12:26:31 +03:00
ci: build macOS deltachat-rpc-server with Nix
This commit is contained in:
11
.github/workflows/deltachat-rpc-server.yml
vendored
11
.github/workflows/deltachat-rpc-server.yml
vendored
@@ -80,18 +80,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
- name: Setup rust target
|
- name: Build deltachat-rpc-server binaries
|
||||||
run: rustup target add ${{ matrix.arch }}-apple-darwin
|
run: nix build .#deltachat-rpc-server-${{ matrix.arch }}
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: cargo build --release --package deltachat-rpc-server --target ${{ matrix.arch }}-apple-darwin --features vendored
|
|
||||||
|
|
||||||
- name: Upload binary
|
- name: Upload binary
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: deltachat-rpc-server-${{ matrix.arch }}-macos
|
name: deltachat-rpc-server-${{ matrix.arch }}-macos
|
||||||
path: target/${{ matrix.arch }}-apple-darwin/release/deltachat-rpc-server
|
path: result/bin/deltachat-rpc-server
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
build_android:
|
build_android:
|
||||||
|
|||||||
Reference in New Issue
Block a user