Skip to content

build(deps-dev): bump unplugin-vue-components from 0.27.2 to 0.27.3 (… #132

build(deps-dev): bump unplugin-vue-components from 0.27.2 to 0.27.3 (…

build(deps-dev): bump unplugin-vue-components from 0.27.2 to 0.27.3 (… #132

Workflow file for this run

name: Build Grassator
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build on ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Install dependencies
run: pnpm install
- name: Install Tauri Linux Dependencies
if: matrix.platform == 'ubuntu-latest'
run: >-
sudo apt-get update &&
sudo apt-get install -y
libgtk-3-dev
libayatana-appindicator3-dev
libwebkit2gtk-4.1-dev
webkit2gtk-driver
xvfb
libjavascriptcoregtk-4.1-dev
libsoup-3.0-dev
- name: Build
run: pnpm tauri build