-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (37 loc) · 1.08 KB
/
ci.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: Continuous Integration bytesto4t
on:
push:
branches:
- master
pull_request: {}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
toolchain: [1.77.2, stable, beta, nightly]
bun-version: [latest, canary]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- name: Build Rust project
run: cargo build --manifest-path bytesto4t/src-tauri/Cargo.toml
# https://bun.sh/guides/runtime/cicd
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun-version }}
- name: Install Tauri CLI
run: bun install -g @tauri-apps/cli
- name: Install dependencies
run: bun install --cwd bytesto4t
- name: Build Svelte app
run: bun run build --cwd bytesto4t
- name: Build Tauri app
run: bun run tauri build --cwd bytesto4t