• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: CI
2
3on:
4  push:
5  pull_request:
6  schedule: [cron: "40 1 * * *"]
7
8jobs:
9  test:
10    name: Rust ${{matrix.rust}}
11    runs-on: ubuntu-latest
12    strategy:
13      fail-fast: false
14      matrix:
15        rust: [nightly, beta, stable, 1.26.0]
16    steps:
17      - uses: actions/checkout@v2
18      - uses: dtolnay/rust-toolchain@master
19        with:
20          toolchain: ${{matrix.rust}}
21      - run: cargo build
22      - run: cargo build --features i128
23      - run: cargo test --features i128
24      - run: cargo test --features i128 --release
25      - run: cargo build --no-default-features --features i128
26      - run: cargo test --tests --no-default-features --features i128
27      - run: cargo test --tests --no-default-features --features i128 --release
28      - run: cargo bench --no-run --features i128
29        if: matrix.rust == 'nightly'
30
31  mintest:
32    name: Rust 1.20.0
33    runs-on: ubuntu-latest
34    steps:
35      - uses: actions/checkout@v2
36      - uses: dtolnay/rust-toolchain@1.20.0
37      - run: cargo test
38
39  msrv:
40    name: Rust 1.0.0
41    runs-on: ubuntu-latest
42    steps:
43      - uses: actions/checkout@v2
44      - uses: dtolnay/rust-toolchain@1.0.0
45      - run: cargo build
46