Skip to content

Tockloader-rs: v0.1.0 release candidate #21

Tockloader-rs: v0.1.0 release candidate

Tockloader-rs: v0.1.0 release candidate #21

Workflow file for this run

# Licensed under the Apache License, Version 2.0 or the MIT License.
# SPDX-License-Identifier: Apache-2.0 OR MIT
# Copyright OXIDOS AUTOMOTIVE 2024.
name: Rust Build & Test
on:
push:
pull_request:
merge_group:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install libudev
run: sudo apt-get install -y libudev-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
ci-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
- name: ci-job-format
run: make ci-job-format
ci-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- name: Install libudev
run: sudo apt-get install -y libudev-dev
- name: ci-job-clippy
run: make ci-job-clippy