22 lines
963 B
YAML
22 lines
963 B
YAML
name: Rust development slice
|
|
on: [push, pull_request]
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
- name: Install pinned toolchain
|
|
run: rustup toolchain install 1.99.1 --profile minimal --component rustfmt --component clippy
|
|
- run: cargo fmt --all --check
|
|
- run: cargo clippy --locked -p rmm-domain -p rmm-protocol -p rmm-persistence -p rmm-server -p rmm-agent-linux -p rmm-agent --all-targets -- -D warnings
|
|
- run: cargo test --locked -p rmm-domain -p rmm-protocol -p rmm-agent-linux -p rmm-agent
|
|
- run: cargo build --locked -p rmm-server -p rmm-agent
|
|
- name: Real local TLS, RLS and agent integration
|
|
run: |
|
|
python3 deploy/dev.py init
|
|
python3 deploy/dev.py up
|
|
python3 tests/local_integration.py
|
|
- name: Stop own development project
|
|
if: always()
|
|
run: python3 deploy/dev.py down
|