X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/ad5b36540a6d5fc5963885d5ef13c108992e80fe..3036c7308170f6c68961e44e61e06727eef78327:/.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 || '' }}