X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/ad5b36540a6d5fc5963885d5ef13c108992e80fe..93ceef0a11e57980c967222a6504da7005895a5b:/.github/workflows/rust.yml?ds=sidebyside 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 || '' }}