Skip to content

Various preparations for v2.0.0-3 #48

Various preparations for v2.0.0-3

Various preparations for v2.0.0-3 #48

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: ['main']
jobs:
rust:
strategy:
matrix:
rust: [ stable, nightly ]
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
if: matrix.os == 'windows-latest'
- run: sudo apt update && sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
if: matrix.os == 'ubuntu-latest'
- uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}-x86_64-pc-windows-gnu
if: matrix.os == 'windows-latest'
- uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
if: matrix.os == 'ubuntu-latest'
- uses: rui314/setup-mold@v1
- run: cd src-tauri && cargo test
shell: bash
env:
RUST_BACKTRACE: full