Skip to content

build: add an automatic release job #22

build: add an automatic release job

build: add an automatic release job #22

Workflow file for this run

on: [push, pull_request]
name: Tests
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- name: install deps
run: sudo apt install nasm cmake protobuf-compiler libxkbcommon-dev
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
with:
workspaces: |
mm-server
mm-client
mm-protocol
- name: server cargo clippy
run: (cd mm-server && cargo clippy)
- name: client cargo clippy
run: (cd mm-client && cargo clippy)
- name: protocol cargo clippy
run: (cd mm-protocol && cargo clippy)
- name: server tests
run: (cd mm-server && cargo test)
- name: client tests
run: (cd mm-client && cargo test)
- name: protocol tests
run: (cd mm-protocol && cargo test)