Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

track: Implement basic audio passthrough #132

track: Implement basic audio passthrough

track: Implement basic audio passthrough #132

Workflow file for this run

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