Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

wf

Manav Rathi69c8b77cab34
diff --git a/.github/workflows/mobile-daily-internal.yml b/.github/workflows/mobile-daily-internal.yml
index a5007a4925..60a1dff585 100644
--- a/.github/workflows/mobile-daily-internal.yml
+++ b/.github/workflows/mobile-daily-internal.yml
@@ -74,6 +74,10 @@ jobs:
- name: Install Flutter Rust Bridge
run: cargo install flutter_rust_bridge_codegen
+ - name: Generate Rust bindings (Core)
+ run: flutter_rust_bridge_codegen generate
+ working-directory: mobile/packages/rust
+
- name: Generate Rust bindings
run: flutter_rust_bridge_codegen generate
diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml
index abc8314528..e876fdd86f 100644
--- a/.github/workflows/mobile-lint.yml
+++ b/.github/workflows/mobile-lint.yml
@@ -5,6 +5,8 @@ on:
pull_request:
paths:
- "mobile/apps/photos/**"
+ - "mobile/packages/rust/**"
+ - "rust/core/**"
- ".github/workflows/mobile-lint.yml"
env:
@@ -32,17 +34,21 @@ jobs:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
-
+
- run: flutter pub get
-
+
- name: Install Rust ${{ env.RUST_VERSION }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_VERSION }}
-
+
- name: Install Flutter Rust Bridge
run: cargo install flutter_rust_bridge_codegen
-
+
+ - name: Generate Rust bindings (Core)
+ run: flutter_rust_bridge_codegen generate
+ working-directory: mobile/packages/rust
+
- name: Generate Rust bindings
run: flutter_rust_bridge_codegen generate
diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.yml
index 2fdc6b6917..2cc3615e3c 100644
--- a/.github/workflows/mobile-release.yml
+++ b/.github/workflows/mobile-release.yml
@@ -75,6 +75,10 @@ jobs:
- name: Install Flutter Rust Bridge
run: cargo install flutter_rust_bridge_codegen
+ - name: Generate Rust bindings (Core)
+ run: flutter_rust_bridge_codegen generate
+ working-directory: mobile/packages/rust
+
- name: Generate Rust bindings
run: flutter_rust_bridge_codegen generate
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index 8bab3f4e77..49b0fd396a 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -5,6 +5,7 @@ on:
pull_request:
paths:
- "web/**"
+ - "rust/core/**"
- ".github/workflows/web-lint.yml"
permissions: