This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
version: vf2 crates #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ staging, trying, master ] | |
pull_request: | |
name: CI | |
jobs: | |
ci-linux: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
rust: [stable, nightly] | |
target: [x86_64-unknown-linux-gnu, riscv64imac-unknown-none-elf] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: Install Rust target | |
run: rustup target install --toolchain=${{ matrix.rust }} ${{ matrix.target }} | |
- name: Check code | |
run: cargo check --target ${{ matrix.target }} --all-features |