-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (31 loc) · 893 Bytes
/
ci-windows.yml
File metadata and controls
41 lines (31 loc) · 893 Bytes
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
name: CI Windows
on:
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
name: Build Windows x86_64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Build Tauri App
run: bun tauri build --bundles nsis --debug
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Codexsm_windows_x64
path: src-tauri/target/debug/bundle/**/*.exe