File tree Expand file tree Collapse file tree 1 file changed +76
-0
lines changed
Expand file tree Collapse file tree 1 file changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " .github/workflows/ci.yml"
9+ - " src/**"
10+ - " src-tauri/**"
11+ - " package.json"
12+ pull_request :
13+ branches :
14+ - main
15+ paths :
16+ - " src/**"
17+ - " src-tauri/**"
18+ - " package.json"
19+
20+ jobs :
21+ build-linux :
22+ runs-on : ubuntu-latest
23+ name : Build Linux x86_64
24+
25+ steps :
26+ - name : Checkout code
27+ uses : actions/checkout@v4
28+
29+ - name : Install Linux dependencies
30+ run : |
31+ sudo apt update
32+ sudo apt install -y \
33+ libwebkit2gtk-4.1-dev \
34+ build-essential \
35+ curl \
36+ wget \
37+ file \
38+ libxdo-dev \
39+ libssl-dev \
40+ libayatana-appindicator3-dev \
41+ librsvg2-dev \
42+ pkg-config \
43+ libglib2.0-dev \
44+ libgtk-3-dev
45+
46+ - name : Install Rust toolchain
47+ uses : dtolnay/rust-toolchain@stable
48+
49+ - name : Setup Node.js
50+ uses : actions/setup-node@v4
51+ with :
52+ node-version : 20
53+
54+ - name : Install Bun
55+ uses : oven-sh/setup-bun@v1
56+
57+ - name : Install dependencies
58+ run : bun install
59+ working-directory : tauri-app
60+
61+ - name : Check Tauri version
62+ run : bun tauri --version
63+ working-directory : tauri-app
64+
65+ - name : Build Tauri App
66+ run : bun tauri build --target x86_64-unknown-linux-gnu
67+ working-directory : tauri-app
68+
69+ - name : Upload build artifacts
70+ uses : actions/upload-artifact@v4
71+ with :
72+ name : tauri-app-linux-x64-ci
73+ path : |
74+ src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.deb
75+ src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.rpm
76+ src-tauri/target/x86_64-unknown-linux-gnu/release/**/*.AppImage
You can’t perform that action at this time.
0 commit comments