]> code.octet-stream.net Git - hashgood/blob - .github/workflows/rust.yml
Prepare for 0.4.0 release
[hashgood] / .github / workflows / rust.yml
1 name: Rust
2
3 on: [push]
4
5 jobs:
6 build:
7
8 strategy:
9 matrix:
10 os: [ubuntu-latest, macos-latest, windows-latest]
11 include:
12 - os: windows-latest
13 features: "--features paste"
14 - os: macos-latest
15 features: "--features paste"
16 runs-on: ${{ matrix.os }}
17
18 steps:
19 - uses: actions/checkout@v1
20 - name: Build
21 run: cargo build ${{ matrix.features || '' }}
22 - name: Run tests
23 run: cargo test ${{ matrix.features || '' }}