build: generate native Canvas resources on demand (#117424)

This commit is contained in:
Peter Steinberger
2026-08-01 08:16:56 -07:00
committed by GitHub
parent 71a59512ba
commit 9e43844264
19 changed files with 327 additions and 13081 deletions
+6
View File
@@ -3447,6 +3447,12 @@ jobs:
# workflow-owned as before. Load them from the workflow revision so old targets work.
uses: ./.ci-workflow/.github/actions/setup-android-toolchain
- name: Setup Node environment for native resources
if: needs.preflight.outputs.compatibility_target != 'true'
uses: ./.github/actions/setup-node-env
with:
install-bun: "false"
# Same-repo runs carry the Gradle user home (dependency, wrapper, and
# build caches) on a Blacksmith sticky disk: the setup-java gradle cache
# above is evicted so quickly under the repo quota that it rarely
@@ -34,6 +34,11 @@ jobs:
distribution: temurin
java-version: "21"
- name: Setup Node environment
uses: ./.github/actions/setup-node-env
with:
install-bun: "false"
- name: Initialize CodeQL
uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
with:
-3
View File
@@ -110,7 +110,6 @@ jobs:
uses: ./.github/actions/setup-node-env
with:
install-bun: "false"
install-deps: "false"
- name: Build Linux companion bundles
working-directory: apps/linux/src-tauri
@@ -185,7 +184,6 @@ jobs:
uses: ./.github/actions/setup-node-env
with:
install-bun: "false"
install-deps: "false"
- name: Build macOS test bundles
working-directory: apps/linux/src-tauri
@@ -253,7 +251,6 @@ jobs:
uses: ./.github/actions/setup-node-env
with:
install-bun: "false"
install-deps: "false"
- name: Build Windows test bundle
working-directory: apps/linux/src-tauri
+5 -1
View File
@@ -67,7 +67,6 @@ jobs:
uses: ./.github/actions/setup-node-env
with:
install-bun: "false"
install-deps: "false"
- name: Check Rust formatting
working-directory: apps/linux/src-tauri
@@ -122,6 +121,11 @@ jobs:
- name: Install Rust
run: rustup toolchain install stable --profile minimal
- name: Setup Node environment
uses: ./.github/actions/setup-node-env
with:
install-bun: "false"
- name: Cache Cargo
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with: