on:
push:
branches: [ staging, trying, trunk ]
pull_request:
name: CI
jobs:
ci-linux:
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental || false }}
strategy:
matrix:
rust: [nightly, stable, 1.42.0]
include:
- rust: nightly
experimental: true
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Install all Rust targets for ${{ matrix.rust }}
run: rustup target install --toolchain=${{ matrix.rust }} riscv32imc-unknown-none-elf
- name: Install riscv gcc
run: sudo apt-get update && sudo apt-get install -y gcc-riscv64-unknown-elf
- name: Run CI script for riscv32imc-unknown-none-elf under ${{ matrix.rust }}
run: cargo check --target riscv32imc-unknown-none-elf
- name: Check blobs
run: ./check-blobs.sh