mirror of
https://github.com/rust-embedded/embedded-hal.git
synced 2026-04-14 02:09:57 +00:00
35 lines
761 B
YAML
35 lines
761 B
YAML
on:
|
|
push:
|
|
branches: [ staging, trying, master ]
|
|
pull_request:
|
|
|
|
name: Test Suite
|
|
|
|
jobs:
|
|
ci-linux:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
rust: [stable]
|
|
|
|
include:
|
|
- rust: 1.36.0 # Higher than the MSRV due to dependencies.
|
|
TARGET: x86_64-unknown-linux-gnu
|
|
|
|
# Test nightly but don't fail
|
|
- rust: nightly
|
|
experimental: true
|
|
TARGET: x86_64-unknown-linux-gnu
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: ${{ matrix.rust }}
|
|
target: ${{ matrix.TARGET }}
|
|
override: true
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|