mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Update embedded-graphics,
remove useless Featuregates (Doesn't change size) Update and integrate a few important examples and remove the others
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
|
||||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install ARM toolchain
|
||||
run: rustup target add thumbv7em-none-eabihf
|
||||
- name: Check Fmt
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Build lib
|
||||
run: cargo check --verbose
|
||||
- name: Clippy
|
||||
run: cargo clippy --all-targets --all-features -- -D warnings -A clippy::new_ret_no_self
|
||||
- name: Build examples
|
||||
run: cargo build --examples --verbose
|
||||
#- name: Run tests
|
||||
# run: cargo test --verbose
|
||||
|
||||
Reference in New Issue
Block a user