File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Build
2+
3+ on :
4+ pull_request :
5+ branches : [ main ]
6+ push :
7+ branches : [ main ]
8+
9+ jobs :
10+ test-build :
11+ strategy :
12+ matrix :
13+ platform : [ubuntu-20.04, windows-latest, macos-latest]
14+ runs-on : ${{ matrix.platform }}
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : ' 18'
22+ cache : ' npm'
23+
24+ - name : Install Rust
25+ uses : dtolnay/rust-toolchain@stable
26+
27+ - name : Install dependencies (Ubuntu only)
28+ if : matrix.platform == 'ubuntu-20.04'
29+ run : |
30+ sudo apt-get update
31+ sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
32+
33+ - name : Install npm dependencies
34+ run : npm ci
35+
36+ - name : Build Tauri app
37+ run : npm run tauri build
38+
39+ - name : Test basic functionality
40+ run : |
41+ echo "Build completed successfully for ${{ matrix.platform }}"
42+ # Could add more specific tests here
You can’t perform that action at this time.
0 commit comments