X-Git-Url: https://code.octet-stream.net/hashgood/blobdiff_plain/812e65c4bd80677d0f0a8e6dc72fda4b9e64709e..19eca3a9a82251447f3c86a14ad48c1db3d8bc1a:/.github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e34b8e1..26ecad9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -5,11 +5,19 @@ on: [push] jobs: build: - runs-on: windows-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 --features paste --verbose + run: cargo build ${{ matrix.features || '' }} - name: Run tests - run: cargo test --features paste --verbose + run: cargo test ${{ matrix.features || '' }}