Skip to content

Add simple example usage in README and in example directory #37

Add simple example usage in README and in example directory

Add simple example usage in README and in example directory #37

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
jobs:
ci:
strategy:
fail-fast: false
matrix:
version:
- stable
- nightly
target:
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
- x86_64-pc-windows-msvc
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
name: ${{ matrix.version }} - ${{ matrix.target }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.version }}-${{ matrix.target }}
profile: minimal
override: true
- uses: taiki-e/install-action@cargo-hack
- name: Build crate
run: cargo hack --feature-powerset build --all-targets