agnostik 0.2.3

Executor Agnostic Runtime that can run your futures with your favourite Executor.
Documentation
name: CI (Windows)

on: [push, pull_request]

jobs:
  build_and_test:
    strategy:
      fail-fast: false
      matrix:
        version:
          - stable
          - nightly
        target:
          - x86_64-pc-windows-msvc
          - x86_64-pc-windows-gnu
          - i686-pc-windows-msvc

    name: ${{ matrix.version }} - ${{ matrix.target }}
    runs-on: windows-latest

    steps:
      - uses: actions/checkout@master

      - name: Install ${{ matrix.version }}
        uses: actions-rs/toolchain@v1
        with:
          toolchain: ${{ matrix.version }}-${{ matrix.target }}
          profile: minimal
          override: true

      - name: Generate Cargo.lock
        uses: actions-rs/cargo@v1
        with:
          command: generate-lockfile

      - name: check build
        run: |
          ./ci.sh check

      - name: tests (nightly)
        if: matrix.version == 'nightly'
        timeout-minutes: 40
        run: |
          ./ci.sh test

      - name: tests (stable)
        if: matrix.version == 'stable'
        timeout-minutes: 40
        run: |
          ./ci.sh test

      - name: Clear the cargo caches
        run: |
          cargo install cargo-cache --no-default-features --features ci-autoclean
          cargo-cache