]> git.lizzy.rs Git - enumset.git/blob - .github/workflows/test.yml
Use Github Actions for the badge rather tha travis CI.
[enumset.git] / .github / workflows / test.yml
1 name: build
2
3 on: [push, pull_request]
4
5 jobs:
6   build:
7     strategy:
8       matrix:
9         rustver: ["stable", "beta", "nightly", "1.36.0"]
10         args: ["", "--features serde", "--features alloc", "--features std", "--release --all-features"]
11     runs-on: ubuntu-latest
12     steps:
13     - uses: actions/checkout@v1
14     - uses: actions-rs/toolchain@v1
15       with:
16         toolchain: ${{ matrix.rustver }}
17     - uses: actions-rs/cargo@v1
18       with:
19         command: test
20         args: ${{ matrix.args }}