]> code.octet-stream.net Git - hashgood/commitdiff
Use paste feature in CI
authorThomas Karpiniec <tom.karpiniec@outlook.com>
Wed, 22 Jan 2020 09:03:28 +0000 (20:03 +1100)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2020 09:03:28 +0000 (20:03 +1100)
Use Windows to do the build since it doesn't require any special dependencies to build the paste code

.github/workflows/rust.yml

index fec17ad2aac3516dd8e9dcfc5a93caa25a76094e..e34b8e1e976c45760e335e9a84ce9ff78d4ead4b 100644 (file)
@@ -5,11 +5,11 @@ on: [push]
 jobs:
   build:
 
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: windows-latest
 
     steps:
     - uses: actions/checkout@v1
     - name: Build
 
     steps:
     - uses: actions/checkout@v1
     - name: Build
-      run: cargo build --verbose
+      run: cargo build --features paste --verbose
     - name: Run tests
     - name: Run tests
-      run: cargo test --verbose
+      run: cargo test --features paste --verbose