Merge remote-tracking branch 'gui/main' into merge-gui-and-server

This commit is contained in:
lucas lelievre
2022-11-13 02:27:07 +01:00
430 changed files with 44297 additions and 50 deletions

48
.github/workflows/build-gui.yml vendored Normal file
View File

@@ -0,0 +1,48 @@
name: Build GUI
on:
push:
paths:
- gui/**
- package*.json
pull_request:
paths:
- gui/**
- package*.json
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
node-version: [16.x]
env:
# Don't mark warnings as errors
CI: false
steps:
- uses: actions/checkout@v3
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Build
run: |
npm ci
npm run tauri build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.0
with:
# Artifact name
name: SlimeVR-GUI
# A file, directory or wildcard pattern that describes what to upload
path: gui/target/release/slimevr-ui.exe