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