X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/ad5b36540a6d5fc5963885d5ef13c108992e80fe..707055cdbae270f18223d5cca73d5cde49e65410:/.github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fec17ad..b76ebee 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -5,11 +5,19 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + include: + - os: windows-latest + features: --features paste + - os: macos-latest + features: --features paste + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 - name: Build - run: cargo build --verbose + run: cargo build ${{ matrix.features || '' }} - name: Run tests - run: cargo test --verbose + run: cargo test ${{ matrix.features || '' }}