You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
800 B

  1. name: ci
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. name: Test
  6. runs-on: ubuntu-latest
  7. strategy:
  8. matrix:
  9. rust:
  10. - 1.54.0
  11. - 1.55.0
  12. - 1.56.0
  13. - 1.57.0
  14. - 1.58.1
  15. - 1.59.0
  16. - stable
  17. - beta
  18. - nightly
  19. steps:
  20. - uses: actions/checkout@v2
  21. - name: Install Rust ${{ matrix.rust }}
  22. uses: actions-rs/toolchain@v1
  23. with:
  24. toolchain: ${{ matrix.rust }}
  25. override: true
  26. profile: minimal
  27. - name: Run cargo build
  28. uses: actions-rs/cargo@v1
  29. with:
  30. command: build
  31. args: --verbose
  32. - name: Run cargo test
  33. uses: actions-rs/cargo@v1
  34. with:
  35. command: test
  36. args: --verbose