-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.02 KB
/
test.yml
File metadata and controls
42 lines (39 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Tests
on:
push:
branches:
- master
paths-ignore:
- "**/README.md"
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
rust-checks:
name: Rust Checks
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v4
- name: 📥 Setup Rust
uses: esp-rs/xtensa-toolchain@v1.5
with:
default: false
buildtargets: esp32s3
ldproxy: false
version: '1.90.0'
- name: 📥 Install Dependencies
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends libasound2-dev
rustup default nightly-2025-09-01
cargo install cargo-make
- name: 🎥 FFmpeg Setup
uses: FedericoCarboni/setup-ffmpeg@v3
- name: 🛢 Cache
uses: Swatinem/rust-cache@v2
# - name: 🔨 Build project
# run: cargo make build
- name: 🧪 Run tests
run: cargo make test-ci