Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CI/CD completed ready for more testing. #1

CI/CD completed ready for more testing.

CI/CD completed ready for more testing. #1

Workflow file for this run

name: GUI Tauri CI
on:
push:
paths:
- 'lattice-v3/gui/lattice-core/**'
- '.github/workflows/gui-tauri.yml'
- 'lattice-v3/core/**'
- 'lattice-v3/wallet/**'
- 'lattice-v3/node/**'
pull_request:
paths:
- 'lattice-v3/gui/lattice-core/**'
- '.github/workflows/gui-tauri.yml'
jobs:
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 50
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
defaults:
run:
working-directory: lattice-v3/gui/lattice-core
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: lattice-v3/gui/lattice-core/package-lock.json
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y \
libgtk-3-dev \
libwebkit2gtk-4.1-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
patchelf \
libssl-dev
- name: Install frontend deps
run: npm ci
- name: Build Tauri app
run: npm run tauri:build
- name: Upload bundles
uses: actions/upload-artifact@v4
with:
name: lattice-core-tauri-${{ matrix.os }}
path: |
lattice-v3/target/release/bundle/**
if-no-files-found: warn