portlight 0.0.2

Cross-platform window management for audio plugins
Documentation
name: CI

on:
  push:
    branches:
      master
  pull_request:
    branches:
      master

jobs:
  ci:
    name: Build and run tests
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
    steps:
      - name: Check out repository
        uses: actions/checkout@v3
      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@stable
      - name: Build
        run: cargo build --workspace --all-targets --all-features
      - name: Xvfb
        if: runner.os == 'Linux'
        run: |
          Xvfb :99 -screen 0 1920x1080x24 &
          echo "DISPLAY=:99.0" >> $GITHUB_ENV
      - name: Run tests
        run: |
          cargo test --workspace --all-targets --all-features