cortex-m 0.7.7

Low level access to Cortex-M processors
Documentation
on:
  push:
    branches: [ staging, trying, master ]
  pull_request:

name: CI

jobs:
  ci-linux:
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental || false }}
    strategy:
      matrix:
        # All generated code should be running on stable now
        rust: [stable]
        features: ["", "critical-section-single-core"]

        include:
          # Test MSRV
          - rust: 1.38.0
            features: ""

          # Test nightly but don't fail
          - rust: nightly
            features: ""
            experimental: true
          - rust: nightly
            features: "critical-section-single-core"
            experimental: true
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.rust }}
          override: true
      - name: Run tests
        run: cargo test --all --features "${{ matrix.features }}"

# FIXME: test on macOS and Windows