Skip to content

Merge pull request #7 from M3ngL/master #31

Merge pull request #7 from M3ngL/master

Merge pull request #7 from M3ngL/master #31

Workflow file for this run

name: armv7
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:edge
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: submodule
run: git config --global --add safe.directory /__w/RustPilot/RustPilot && git submodule update --init
- uses: actions/checkout@v4
- name: Build
run: rustup target add armv7-unknown-linux-gnueabihf && cargo build --verbose --target armv7-unknown-linux-gnueabihf
- name: Run tests
run: cargo test --verbose --target armv7-unknown-linux-gnueabihf