This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
Remove outdated comment #138
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
name: Action | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-all: | |
name: Check all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch sources | |
uses: actions/checkout@v2 | |
- name: Install C dependencies | |
run: | | |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse" | |
sudo apt-get update -y -qq | |
sudo apt-get install libsdl2-dev | |
- name: Install x86 Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
target: x86_64-unknown-linux-gnu | |
toolchain: nightly | |
default: true | |
override: true | |
components: rustfmt, clippy | |
- name: Install ARM Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
target: thumbv7em-none-eabihf | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy | |
- name: Check formatting | |
run: make check-format | |
- name: Check clippy | |
run: make clippy | |
- name: Run tests | |
run: make test |