-
Notifications
You must be signed in to change notification settings - Fork 0
94 lines (89 loc) · 2.66 KB
/
Copy pathplatform-native.yml
File metadata and controls
94 lines (89 loc) · 2.66 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: Platform Native
on:
workflow_dispatch:
concurrency:
group: platform-native-${{ github.ref }}
cancel-in-progress: true
jobs:
platform-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.94.1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri -> target
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Install Playwright Chromium
run: bunx playwright install chromium
- name: Run macOS platform-native checks
run: bun run check:platform
- name: Run desktop bridge truth gate
run: bun run test:e2e:desktop-bridge:truth
platform-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Linux desktop and native-test dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
curl \
file \
pkg-config \
libdbus-1-dev \
libglib2.0-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
libssl-dev \
libwebkit2gtk-4.1-dev \
libxdo-dev \
librsvg2-dev \
patchelf \
dbus-x11 \
gnome-keyring \
systemd \
wget
- uses: dtolnay/rust-toolchain@1.94.1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri -> target
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Linux platform-native checks
run: bun run check:platform
platform-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.94.1
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri -> target
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Windows platform-native checks
run: bun run check:platform