-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (39 loc) · 936 Bytes
/
test-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Build
on:
push:
branches:
- main
paths:
- 'src/**'
- 'src-tauri/**'
- 'tests/**'
- 'bun.lockb'
- 'src-tauri/Cargo.lock'
- '.github/workflows/test-build.yml'
pull_request:
workflow_dispatch:
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
build-tauri:
permissions:
contents: write
strategy:
fail-fast: true
runs-on: 'ubuntu-24.04'
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun i
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Build Tauri
run: bun tauri build