Skip to content

feat!: add frontend(tauri) & move current to core_lib #18

feat!: add frontend(tauri) & move current to core_lib

feat!: add frontend(tauri) & move current to core_lib #18

Workflow file for this run

name: Build-(Core & Tauri)
on:
push:
branches: [ "master" ]
pull_request:
# cancel ongoing jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: arduino/setup-protoc@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libdbus-1-dev
- run: |
cd ./core_lib
cargo build
build-tauri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: arduino/setup-protoc@v3
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y libdbus-1-dev libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Build Vite + Tauri
run: pnpm build