mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-09-24 18:30:59 +02:00
chore: instal system dependencies only for rust codeql check
This commit is contained in:
@@ -48,8 +48,8 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
targets: x86_64-unknown-linux-gnu
|
targets: x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
- name: Install dependencies (Ubuntu only)
|
- name: Install system dependencies (Rust only)
|
||||||
if: matrix.platform == 'ubuntu-latest'
|
if: matrix.language == 'rust'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev pkg-config xdg-utils
|
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev pkg-config xdg-utils
|
||||||
@@ -63,17 +63,20 @@ jobs:
|
|||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Install rust dependencies
|
- name: Install rust dependencies
|
||||||
|
if: matrix.language == 'rust'
|
||||||
working-directory: ./src-tauri
|
working-directory: ./src-tauri
|
||||||
run: |
|
run: |
|
||||||
cargo build
|
cargo build
|
||||||
|
|
||||||
- name: Build nodecar sidecar
|
- name: Build nodecar sidecar
|
||||||
|
if: matrix.language == 'rust'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ./nodecar
|
working-directory: ./nodecar
|
||||||
run: |
|
run: |
|
||||||
pnpm run build:linux-x64
|
pnpm run build:linux-x64
|
||||||
|
|
||||||
- name: Copy nodecar binary to Tauri binaries
|
- name: Copy nodecar binary to Tauri binaries
|
||||||
|
if: matrix.language == 'rust'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mkdir -p src-tauri/binaries
|
mkdir -p src-tauri/binaries
|
||||||
|
|||||||
Reference in New Issue
Block a user