message: Add basic feature matrix
diff: @@ -7,11 +7,24 @@ on:
  jobs:
  build:
  runs-on: ubuntu-latest
  + strategy:
  + matrix:
  + rust: ["1.34.2", stable, beta, nightly]
  + features: [ gif, jpeg, png, pnm, tga, dds, tiff, webp, hdr, farbfeld, '' ]
  steps:
  - uses: actions/checkout@v2
  - uses: actions-rs/toolchain@v1
  with:
  - toolchain: stable
  + toolchain: ${{ matrix.rust }}
  override: true
  - name: build
  - run: cargo build -v
  + run: cargo build -v --no-default-features --features "$FEATURES"
  + env:
  + FEATURES: ${{ matrix.features }}
  + - name: test
  + run: >
  + cargo test -v --no-default-features --features "$FEATURES" &&
  + cargo doc -v --no-default-features --features "$FEATURES"
  + if: ${{ matrix.rust != '1.34.2' }}
  + env:
  + FEATURES: ${{ matrix.features }}
  