X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/ad5b36540a6d5fc5963885d5ef13c108992e80fe..cfcab0977a3267bfc7f52a0d26224753a491bbcb:/.github/workflows/rust.yml?ds=inline diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fec17ad..26ecad9 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 || '' }}