]> code.octet-stream.net Git - hashgood/blobdiff - .github/workflows/rust.yml
Update deps and remove reliance on crossbeam
[hashgood] / .github / workflows / rust.yml
index fec17ad2aac3516dd8e9dcfc5a93caa25a76094e..26ecad9fb431b2a092f9f04fada5bb29418cda31 100644 (file)
@@ -5,11 +5,19 @@ on: [push]
 jobs:
   build:
 
 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
 
     steps:
     - uses: actions/checkout@v1
     - name: Build
-      run: cargo build --verbose
+      run: cargo build ${{ matrix.features || '' }}
     - name: Run tests
     - name: Run tests
-      run: cargo test --verbose
+      run: cargo test ${{ matrix.features || '' }}