Skip to content

fix(tauri): update to tauri v2 (fixes audio) #12

fix(tauri): update to tauri v2 (fixes audio)

fix(tauri): update to tauri v2 (fixes audio) #12

Workflow file for this run

name: Test Build Tauri
on:
push:
jobs:
build:
name: "Test Build"
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-20.04
name: linux
- os: macos-latest
name: mac
- os: windows-latest
name: win
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: "yarn"
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies (ubuntu only)
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install NPM Packages
run: |
yarn install --immutable --network-timeout 120000
- name: Build
run: yarn build:tauri
# Possibly set up some basic unit testing just to make sure parts render and none of the libraries are straight up breaking
- uses: actions/upload-artifact@v2
with:
name: built-app-${{ matrix.name }}
path: |
app/tauri/target/release/bundle/deb/*.deb
app/tauri/target/release/bundle/appimage/*.AppImage
app/tauri/target/release/bundle/msi/*.msi
app/tauri/target/release/bundle/dmg/*.dmg
app/tauri/target/release/bundle/macos/*.app