Skip to content

Add github actions file. #2

Add github actions file.

Add github actions file. #2

Workflow file for this run

name: Rust
on:
push:

Check failure on line 4 in .github/workflows/rust.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust.yaml

Invalid workflow file

You have an error in your yaml syntax on line 4
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt install -y nvidia-cuda-toolkit pkg-config libjack-dev libpulse-dev libavcodec-dev libavutil-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose