mirror of
https://github.com/FluxaMedia/fluxa-desktop.git
synced 2026-08-07 01:08:49 +00:00
46 lines
No EOL
1.1 KiB
YAML
46 lines
No EOL
1.1 KiB
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- README.md
|
|
pull_request:
|
|
paths-ignore:
|
|
- README.md
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-libmpv-example-windows:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup node
|
|
uses: actions/setup-node@v5
|
|
with:
|
|
node-version: lts/*
|
|
|
|
- name: Install Rust stable
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
- name: Build example
|
|
shell: pwsh
|
|
run: |
|
|
npm install -g pnpm
|
|
pnpm install
|
|
pnpm build
|
|
cd examples/react
|
|
pnpm install
|
|
pnpm setup-lib
|
|
pnpm tauri build
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: tauri-plugin-libmpv-example-windows
|
|
path: |
|
|
examples/react/src-tauri/target/release/tauri-plugin-libmpv-example.exe
|
|
examples/react/src-tauri/target/release/lib/libmpv-wrapper.dll
|
|
examples/react/src-tauri/target/release/lib/libmpv-2.dll |