Skip to content

Commit a0508db

Browse files
doublegateclaude
andcommitted
ci: add Tauri 2.0 system dependencies to Ubuntu CI jobs
Fix CI workflow failures caused by missing GTK/WebKit development libraries required by Tauri 2.0 (wraith-transfer application). Root Cause: - glib-sys, gobject-sys, and other GTK bindings failed to build - Ubuntu runners lacked required Tauri v2 system dependencies Solution: Added dependency installation step to all Ubuntu-based CI jobs: - libwebkit2gtk-4.1-dev (WebKit2GTK 4.1 for Tauri v2) - libappindicator3-dev (system tray support) - librsvg2-dev (SVG rendering) - patchelf (binary patching) - libgtk-3-dev (GTK3 development) - libayatana-appindicator3-dev (Ubuntu app indicator) Jobs Updated: - Check (ubuntu-latest) - Test (ubuntu-latest with conditional) - Clippy (ubuntu-latest) - Documentation (ubuntu-latest) - MSRV 1.85 (ubuntu-latest) - Coverage (ubuntu-latest) References: - https://v2.tauri.app/start/prerequisites/ - https://v2.tauri.app/distribute/pipelines/github/ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8687234 commit a0508db

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v6
3333

34+
- name: Install system dependencies (Ubuntu)
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev libayatana-appindicator3-dev
38+
3439
- name: Install Rust toolchain
3540
uses: dtolnay/rust-toolchain@stable
3641

@@ -68,6 +73,12 @@ jobs:
6873
steps:
6974
- uses: actions/checkout@v6
7075

76+
- name: Install system dependencies (Ubuntu)
77+
if: matrix.os == 'ubuntu-latest'
78+
run: |
79+
sudo apt-get update
80+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev libayatana-appindicator3-dev
81+
7182
- name: Install Rust toolchain
7283
uses: dtolnay/rust-toolchain@stable
7384

@@ -93,6 +104,11 @@ jobs:
93104
steps:
94105
- uses: actions/checkout@v6
95106

107+
- name: Install system dependencies (Ubuntu)
108+
run: |
109+
sudo apt-get update
110+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev libayatana-appindicator3-dev
111+
96112
- name: Install Rust toolchain
97113
uses: dtolnay/rust-toolchain@stable
98114
with:
@@ -130,6 +146,11 @@ jobs:
130146
steps:
131147
- uses: actions/checkout@v6
132148

149+
- name: Install system dependencies (Ubuntu)
150+
run: |
151+
sudo apt-get update
152+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev libayatana-appindicator3-dev
153+
133154
- name: Install Rust toolchain
134155
uses: dtolnay/rust-toolchain@stable
135156

@@ -153,6 +174,11 @@ jobs:
153174
steps:
154175
- uses: actions/checkout@v6
155176

177+
- name: Install system dependencies (Ubuntu)
178+
run: |
179+
sudo apt-get update
180+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev libayatana-appindicator3-dev
181+
156182
- name: Install Rust 1.85
157183
uses: dtolnay/rust-toolchain@1.85
158184

@@ -168,6 +194,11 @@ jobs:
168194
steps:
169195
- uses: actions/checkout@v6
170196

197+
- name: Install system dependencies (Ubuntu)
198+
run: |
199+
sudo apt-get update
200+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev libayatana-appindicator3-dev
201+
171202
- name: Install Rust toolchain
172203
uses: dtolnay/rust-toolchain@stable
173204
with:

0 commit comments

Comments
 (0)