plotters-iced2 0.14.0

Iced backend for Plotters
Documentation
name: Test and Build

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
        rust: [stable]
    steps:
      - uses: actions/checkout@master
      - name: Install Rust toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: ${{ matrix.rust }}
          components: rustfmt
          override: true
      - name: Install dependencies
        run: |
          if [ "$RUNNER_OS" == "Linux" ]; then
              sudo apt-get -qq update
              sudo apt-get install -y libxkbcommon-dev
          fi
        shell: bash
      - name: Verify versions
        run: rustc --version && rustup --version && cargo --version
      - name: Cargo Build
        run: cargo build --verbose
      - name: Build example
        run: cargo build --examples
        continue-on-error: true
      - name: Run tests
        run: cargo test --verbose
      - name: Check code style
        run: cargo fmt -- --check